Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 216 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.283/3.283, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 73.7 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4484, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003015/0.4514, allocations: 1.498 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.4518, allocations: 99.64 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.4518, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.518e-05/0.4519, allocations: 3.938 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.881e-05/0.4519, allocations: 15.88 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.4522, allocations: 23.95 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.4523, allocations: 39.92 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4524, allocations: 7.984 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.4525, allocations: 27.86 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.4525, allocations: 15.92 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.4525, allocations: 4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.013e-05/0.4526, allocations: 19.98 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.4527, allocations: 15.92 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.4527, allocations: 15.88 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.4529, allocations: 60.06 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4529, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4529, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4529, allocations: 3.938 kB / 1.328 GB, free: 15.64 MB / 1.029 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.0006219/0.4535, allocations: 306 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4536, allocations: 12.03 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.4536, allocations: 30.75 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.4537, allocations: 4.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.4538, allocations: 134.4 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4538, allocations: 384 / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4538, allocations: 8.375 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.4541, allocations: 78.16 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4541, allocations: 3.938 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.4541, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4542, allocations: 3.984 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.4545, allocations: 75.92 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.4549, allocations: 252 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.4551, allocations: 70.47 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.4552, allocations: 36.92 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.4555, allocations: 31.97 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.4555, allocations: 38.56 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4555, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005716/0.4561, allocations: 145.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4562, allocations: 51.41 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4563, allocations: 139.5 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.4563, allocations: 29.7 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.4564, allocations: 92.12 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.4564, allocations: 11.91 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.4565, allocations: 13.72 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4566, allocations: 318.8 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4568, allocations: 35.97 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.4569, allocations: 35.95 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.4572, allocations: 88.72 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4572, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003296/0.4575, allocations: 105.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4575, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4575, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4575, allocations: 7.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4577, allocations: 19.92 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4577, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.4578, allocations: 19.92 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4578, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 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 0.0001331/0.4579, allocations: 118.3 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.4579, allocations: 7.953 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.4583, allocations: 121.9 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4583, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4583, allocations: 3.938 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4583, allocations: 4.031 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.4586, allocations: 148.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4586, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.4587, allocations: 19.92 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4587, allocations: 3.984 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4587, allocations: 8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4587, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4587, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.4591, allocations: 207.4 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.4591, allocations: 11.94 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.4591, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.4592, allocations: 11.98 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.4593, allocations: 11.98 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.4593, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.4593, allocations: 95.27 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4593, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00024/0.4596, allocations: 16 kB / 1.331 GB, free: 12.43 MB / 1.029 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.0008809/0.4605, allocations: 0.7396 MB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.4608, allocations: 83.91 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4608, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.461, allocations: 39.91 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.4612, allocations: 13.94 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.4617, allocations: 195 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.4618, allocations: 71.33 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.4619, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.4619, allocations: 23.36 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4619, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.4929, allocations: 2.466 MB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.49, allocations: 6.562 kB / 1.334 GB, free: 8.848 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.554615300992737]