Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_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.001629/0.001629, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7447 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.14 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3759, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003311/0.3793, allocations: 1.555 MB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.3797, allocations: 107.7 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.3798, allocations: 4 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.731e-05/0.3799, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.38, allocations: 7.922 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3802, allocations: 19.97 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.3803, allocations: 47.8 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3804, allocations: 16 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.3804, allocations: 15.92 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.131e-05/0.3805, allocations: 23.91 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3805, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.78e-05/0.3806, allocations: 19.98 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.3807, allocations: 4 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.3807, allocations: 27.84 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3809, allocations: 43.81 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3809, allocations: 0 / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.81e-07/0.3809, allocations: 8 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3809, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 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.0005732/0.3815, allocations: 379.5 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3815, allocations: 12.03 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.3816, allocations: 8.844 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3817, allocations: 183.6 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3817, allocations: 384 / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3818, allocations: 384 / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.382, allocations: 78.22 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.382, allocations: 192 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3821, allocations: 7.938 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3821, allocations: 3.938 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.3824, allocations: 71.92 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.3828, allocations: 288.9 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.383, allocations: 66.47 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3832, allocations: 48.89 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.3835, allocations: 113 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3835, allocations: 38.56 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3835, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005623/0.3841, allocations: 153.4 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3841, allocations: 51.41 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3842, allocations: 125.8 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3842, allocations: 25.7 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.3843, allocations: 99.97 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3843, allocations: 7.906 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.3844, allocations: 13.72 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3845, allocations: 326.8 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3846, allocations: 31.97 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.3848, allocations: 35.95 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3851, allocations: 84.78 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3851, allocations: 3.938 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003263/0.3854, allocations: 113.5 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3854, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3854, allocations: 0 / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3855, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3856, allocations: 15.98 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3856, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.3857, allocations: 15.97 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3857, allocations: 4 kB / 1.072 GB, free: 6.355 MB / 0.8262 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 8.158e-05/0.3858, allocations: 115.5 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3858, allocations: 4 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.3862, allocations: 129.4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3862, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3862, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3862, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3864, allocations: 181.6 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3864, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.3865, allocations: 19.92 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3865, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3865, allocations: 4 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3865, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3865, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.3869, allocations: 211.3 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.387, allocations: 81.44 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.387, allocations: 11.94 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3871, allocations: 11.98 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.3872, allocations: 3.984 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.3872, allocations: 8 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.3872, allocations: 99.27 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3872, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002268/0.3875, allocations: 8 kB / 1.073 GB, free: 5.379 MB / 0.8262 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.0001575/0.3876, allocations: 111.2 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.388, allocations: 75.91 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.388, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3881, allocations: 47.89 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3884, allocations: 11.94 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.3888, allocations: 159.2 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.389, allocations: 0.6965 MB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.3891, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.3891, allocations: 15.44 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3891, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of Templates: time 0.002929/0.392, allocations: 0.6522 MB / 1.074 GB, free: 3.562 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches