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.002441/0.00244, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.00218/0.00218, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.475/1.475, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.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.847/2.847, allocations: 489.1 MB / 0.7678 GB, free: 16 kB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 1.101 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8665, allocations: 163.8 MB / 1.261 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002655/0.8692, allocations: 1.494 MB / 1.262 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.8695, allocations: 111.7 kB / 1.263 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.8696, allocations: 0 / 1.263 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.457e-05/0.8696, allocations: 3.938 kB / 1.263 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.8697, allocations: 7.938 kB / 1.263 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.8699, allocations: 27.91 kB / 1.263 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.87, allocations: 43.84 kB / 1.263 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.8701, allocations: 12 kB / 1.263 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.8702, allocations: 15.97 kB / 1.263 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.8702, allocations: 31.8 kB / 1.263 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.8702, allocations: 4 kB / 1.263 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.8703, allocations: 15.98 kB / 1.263 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.8704, allocations: 15.92 kB / 1.263 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.8704, allocations: 19.86 kB / 1.263 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.8705, allocations: 63.73 kB / 1.263 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8706, allocations: 0 / 1.263 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8706, allocations: 0 / 1.263 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.8706, allocations: 4 kB / 1.263 GB, free: 5.414 MB / 0.9669 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.0005557/0.8711, allocations: 379.1 kB / 1.263 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8712, allocations: 12.03 kB / 1.263 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.8712, allocations: 30.75 kB / 1.263 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.8712, allocations: 8.891 kB / 1.263 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.8714, allocations: 172.3 kB / 1.263 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.8714, allocations: 4.375 kB / 1.263 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.8714, allocations: 4.359 kB / 1.263 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.8717, allocations: 78.16 kB / 1.264 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.8717, allocations: 3.938 kB / 1.264 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.8718, allocations: 0 / 1.264 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8718, allocations: 3.938 kB / 1.264 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.8721, allocations: 75.92 kB / 1.264 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.8725, allocations: 284.9 kB / 1.264 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.8727, allocations: 70.52 kB / 1.264 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.8729, allocations: 52.84 kB / 1.264 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/0.8731, allocations: 105.1 kB / 1.264 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.8732, allocations: 30.56 kB / 1.264 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.8732, allocations: 0 / 1.264 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005798/0.8737, allocations: 153.5 kB / 1.264 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.8738, allocations: 55.41 kB / 1.264 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.8739, allocations: 117.8 kB / 1.264 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.8739, allocations: 25.7 kB / 1.264 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.874, allocations: 104.1 kB / 1.265 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.874, allocations: 11.91 kB / 1.265 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.8741, allocations: 13.72 kB / 1.265 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.8742, allocations: 318.8 kB / 1.265 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.8744, allocations: 35.91 kB / 1.265 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.8746, allocations: 39.95 kB / 1.265 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.8749, allocations: 84.72 kB / 1.265 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8749, allocations: 0 / 1.265 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003484/0.8752, allocations: 113.6 kB / 1.265 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.8753, allocations: 8 kB / 1.265 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.8753, allocations: 4 kB / 1.265 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8753, allocations: 3.938 kB / 1.265 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.8754, allocations: 11.98 kB / 1.265 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8754, allocations: 4 kB / 1.265 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.8755, allocations: 11.92 kB / 1.265 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.8755, allocations: 4 kB / 1.265 GB, free: 2.773 MB / 0.9669 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 9.762e-05/0.8756, allocations: 121.8 kB / 1.265 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.8757, allocations: 4 kB / 1.265 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.8761, allocations: 121.5 kB / 1.265 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8761, allocations: 0 / 1.265 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8761, allocations: 3.984 kB / 1.265 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8761, allocations: 4 kB / 1.265 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.8763, allocations: 177.6 kB / 1.266 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8763, allocations: 3.984 kB / 1.266 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.855e-05/0.8764, allocations: 27.92 kB / 1.266 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8764, allocations: 0 / 1.266 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.8764, allocations: 0 / 1.266 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.8764, allocations: 0 / 1.266 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8765, allocations: 3.938 kB / 1.266 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.8769, allocations: 211.8 kB / 1.266 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.8769, allocations: 81.06 kB / 1.266 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.8769, allocations: 0 / 1.266 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.8771, allocations: 12.03 kB / 1.266 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.8771, allocations: 11.97 kB / 1.266 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.8771, allocations: 0 / 1.266 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.8772, allocations: 102.8 kB / 1.266 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8772, allocations: 0 / 1.266 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002269/0.8774, allocations: 15.94 kB / 1.266 GB, free: 1.785 MB / 0.9669 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.0007621/0.8782, allocations: 0.7435 MB / 1.267 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.8786, allocations: 83.91 kB / 1.267 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8786, allocations: 0 / 1.267 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.8788, allocations: 43.95 kB / 1.267 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.879, allocations: 7.938 kB / 1.267 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.8795, allocations: 187 kB / 1.267 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.8799, allocations: 0.6884 MB / 1.268 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.8799, allocations: 3.984 kB / 1.268 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.8799, allocations: 23.38 kB / 1.268 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8799, allocations: 0 / 1.268 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.9038, allocations: 1.872 MB / 1.27 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/9.218, allocations: 6.453 kB / 1.27 GB, free: 14.13 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 840.0] 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: 15.50970279914327]