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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 111.9 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.92/2.92, allocations: 489.3 MB / 0.7687 GB, free: 3.812 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.91 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8293, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002338/0.8317, allocations: 1.493 MB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002739/0.832, allocations: 110.5 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.832, allocations: 0.875 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.8321, allocations: 5.297 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.8321, allocations: 18.17 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.8323, allocations: 20.08 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.8324, allocations: 43.11 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.8326, allocations: 14.23 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.8326, allocations: 17.47 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.8327, allocations: 19.28 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.8327, allocations: 4.062 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.461e-05/0.8328, allocations: 19.66 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.8328, allocations: 17.89 kB / 1.264 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.8328, allocations: 25.97 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.833, allocations: 56.66 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.833, allocations: 0.5625 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.193e-06/0.833, allocations: 0 / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.833, allocations: 0.9375 kB / 1.264 GB, free: 6.785 MB / 0.9981 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.0004437/0.8335, allocations: 371.8 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.8335, allocations: 9.375 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.8335, allocations: 8.297 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.616e-05/0.8336, allocations: 186.4 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.8336, allocations: 1.094 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.8336, allocations: 2 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.8339, allocations: 81.2 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8339, allocations: 1.562 kB / 1.265 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.8339, allocations: 3.938 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8339, allocations: 0.8438 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.8343, allocations: 76.14 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.8346, allocations: 284 kB / 1.265 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.8348, allocations: 71.84 kB / 1.265 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.835, allocations: 50.44 kB / 1.265 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.8352, allocations: 105.6 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.8352, allocations: 31.98 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.8352, allocations: 1.25 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005698/0.8358, allocations: 146.3 kB / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.8358, allocations: 52.92 kB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.8359, allocations: 123.8 kB / 1.266 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.8359, allocations: 26.64 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.836, allocations: 101.3 kB / 1.266 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.836, allocations: 13.33 kB / 1.266 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.8361, allocations: 21.27 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.8361, allocations: 318.6 kB / 1.266 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.8363, allocations: 35.7 kB / 1.266 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.8364, allocations: 40.05 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.8367, allocations: 80.19 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8367, allocations: 3.938 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003334/0.8371, allocations: 113.2 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8371, allocations: 4.406 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.8371, allocations: 5.062 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.8371, allocations: 1.078 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.8373, allocations: 20 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8373, allocations: 0 / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.8373, allocations: 11.94 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.8374, allocations: 1.156 kB / 1.267 GB, free: 4.867 MB / 0.9981 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.139e-05/0.8374, allocations: 118.8 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.8375, allocations: 15.67 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.8378, allocations: 115.5 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8378, allocations: 1.125 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.8379, allocations: 0 / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8379, allocations: 0.6094 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.838, allocations: 183.4 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.838, allocations: 0.7812 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.8381, allocations: 20.28 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8381, allocations: 3.938 kB / 1.267 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8381, allocations: 0.625 kB / 1.267 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8381, allocations: 5.453 kB / 1.267 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8382, allocations: 0.75 kB / 1.267 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.8385, allocations: 212.1 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.8385, allocations: 79.69 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.8386, allocations: 0.6094 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.8387, allocations: 11.67 kB / 1.267 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.8387, allocations: 8.609 kB / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8387, allocations: 1.188 kB / 1.267 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.8388, allocations: 96.33 kB / 1.268 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8388, allocations: 0.8438 kB / 1.268 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002339/0.839, allocations: 16.7 kB / 1.268 GB, free: 4.129 MB / 0.9981 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.0001254/0.8392, allocations: 106 kB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.8395, allocations: 83.97 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8396, allocations: 0.8125 kB / 1.268 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.8397, allocations: 43.17 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.84, allocations: 15.19 kB / 1.268 GB, free: 4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.8403, allocations: 177 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.8404, allocations: 0.6857 MB / 1.269 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.8405, allocations: 13.75 kB / 1.269 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.8405, allocations: 0 / 1.269 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of Templates: time 0.002598/0.8431, allocations: 0.8951 MB / 1.27 GB, free: 3.066 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.78545506298542]