Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008081, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009181/0.0009183, allocations: 186.7 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6284/0.6289, allocations: 142.4 MB / 0.9557 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001378/0.6303, allocations: 1.215 MB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.6306, allocations: 99.84 kB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.6306, allocations: 1.094 kB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.6307, allocations: 0 / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.863e-05/0.6307, allocations: 10.64 kB / 0.957 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.6309, allocations: 19.09 kB / 0.957 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.631, allocations: 41.89 kB / 0.957 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.6311, allocations: 12.7 kB / 0.9571 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.6311, allocations: 17.52 kB / 0.9571 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.6312, allocations: 17.36 kB / 0.9571 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.6312, allocations: 2.125 kB / 0.9571 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.6312, allocations: 17.2 kB / 0.9571 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.6313, allocations: 14.98 kB / 0.9571 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.6313, allocations: 42.27 kB / 0.9572 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.132e-05/0.6314, allocations: 39.48 kB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6314, allocations: 1.156 kB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6314, allocations: 0 / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.6315, allocations: 4 kB / 0.9572 GB, free: 6.543 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004113/0.6319, allocations: 379 kB / 0.9576 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.6319, allocations: 9.906 kB / 0.9576 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.6319, allocations: 7.188 kB / 0.9576 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.235e-05/0.632, allocations: 176.8 kB / 0.9578 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.632, allocations: 5.188 kB / 0.9578 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.6321, allocations: 1.688 kB / 0.9578 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.6323, allocations: 90.05 kB / 0.9578 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6323, allocations: 192 / 0.9578 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.6323, allocations: 3.938 kB / 0.9579 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6323, allocations: 5.219 kB / 0.9579 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.6327, allocations: 102.5 kB / 0.958 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.633, allocations: 286 kB / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.6332, allocations: 86.38 kB / 0.9583 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.6334, allocations: 48.98 kB / 0.9584 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.6336, allocations: 109.3 kB / 0.9585 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.6336, allocations: 30.56 kB / 0.9585 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.6336, allocations: 1.344 kB / 0.9585 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005808/0.6342, allocations: 186.7 kB / 0.9587 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.6342, allocations: 52.88 kB / 0.9587 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.6343, allocations: 132.5 kB / 0.9588 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.6343, allocations: 29.7 kB / 0.9589 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.6344, allocations: 90.81 kB / 0.959 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.6344, allocations: 17.27 kB / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.6344, allocations: 11.25 kB / 0.959 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.6345, allocations: 312.2 kB / 0.9593 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.6347, allocations: 54.83 kB / 0.9593 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.6348, allocations: 47.52 kB / 0.9594 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.6351, allocations: 99.66 kB / 0.9595 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6351, allocations: 7.938 kB / 0.9595 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003339/0.6354, allocations: 132.3 kB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.6355, allocations: 6.75 kB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6355, allocations: 0 / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6355, allocations: 1.375 kB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.6356, allocations: 23.09 kB / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.6356, allocations: 3.984 kB / 0.9596 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.6357, allocations: 24.3 kB / 0.9597 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.6357, allocations: 1.375 kB / 0.9597 GB, free: 4.391 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.6358, allocations: 117.9 kB / 0.9598 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.6358, allocations: 10.64 kB / 0.9598 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.6362, allocations: 140.8 kB / 0.9599 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6362, allocations: 0 / 0.9599 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6363, allocations: 0 / 0.9599 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6363, allocations: 1.375 kB / 0.9599 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.6364, allocations: 187.3 kB / 0.9601 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6364, allocations: 1.375 kB / 0.9601 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.6365, allocations: 19.11 kB / 0.9601 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6365, allocations: 0 / 0.9601 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6365, allocations: 9.297 kB / 0.9601 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6365, allocations: 0 / 0.9601 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6365, allocations: 0 / 0.9601 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.6369, allocations: 233.3 kB / 0.9604 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.6369, allocations: 86.31 kB / 0.9604 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.6369, allocations: 9.281 kB / 0.9605 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.6371, allocations: 15.58 kB / 0.9605 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.6371, allocations: 9.516 kB / 0.9605 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.6371, allocations: 1.438 kB / 0.9605 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.6372, allocations: 98.8 kB / 0.9606 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6372, allocations: 5.125 kB / 0.9606 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002318/0.6374, allocations: 9 kB / 0.9606 GB, free: 3.559 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001193/0.6375, allocations: 100.2 kB / 0.9607 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.6379, allocations: 105.9 kB / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6379, allocations: 1.031 kB / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.6381, allocations: 50.75 kB / 0.9608 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.6383, allocations: 10.16 kB / 0.9608 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.6387, allocations: 186.5 kB / 0.961 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.6388, allocations: 0.6954 MB / 0.9617 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.6388, allocations: 8.469 kB / 0.9617 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6388, allocations: 1.031 kB / 0.9617 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of Templates: time 0.002106/0.6409, allocations: 0.8787 MB / 0.9626 GB, free: 2.07 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches