Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008242/0.0008242, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000859/0.000859, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9161/0.9161, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.726/1.726, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.771e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002892/0.00291, allocations: 1.499 MB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003496/0.00326, allocations: 107.7 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.003309, allocations: 0 / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.003365, allocations: 3.938 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.003441, allocations: 7.938 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.003699, allocations: 23.91 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.003806, allocations: 51.83 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003911, allocations: 4 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.003983, allocations: 27.91 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.004034, allocations: 15.98 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.004055, allocations: 4 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.004129, allocations: 19.92 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.004186, allocations: 15.92 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.004213, allocations: 11.98 kB / 0.9522 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.004371, allocations: 63.8 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004375, allocations: 0 / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.523e-06/0.004376, allocations: 0 / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.004381, allocations: 4 kB / 0.9523 GB, free: 1.617 MB / 0.9011 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.0004895/0.00487, allocations: 302.1 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.004918, allocations: 11.97 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.004956, allocations: 30.75 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.004987, allocations: 8.891 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.005096, allocations: 121.7 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.00511, allocations: 8.375 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.00512, allocations: 384 / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.005374, allocations: 82.14 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.005382, allocations: 4.188 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.005393, allocations: 384 / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.005399, allocations: 4.125 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.00564, allocations: 75.86 kB / 0.9529 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.00604, allocations: 244 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.006235, allocations: 70.47 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.006358, allocations: 48.91 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.006569, allocations: 31.91 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.006594, allocations: 34.56 kB / 0.9533 GB, free: 436 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.006596, allocations: 4 kB / 0.9533 GB, free: 432 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0004785/0.007074, allocations: 141.6 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.007116, allocations: 51.41 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.007221, allocations: 133.7 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.007234, allocations: 25.7 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.007304, allocations: 96.09 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.007325, allocations: 15.89 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.007367, allocations: 17.7 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.007467, allocations: 314.8 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.007591, allocations: 43.95 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.0077, allocations: 35.97 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.007916, allocations: 76.78 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.00792, allocations: 3.984 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002758/0.008195, allocations: 113.5 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.008214, allocations: 10.34 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.008219, allocations: 0 / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.008233, allocations: 3.938 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.008341, allocations: 23.97 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.008347, allocations: 0 / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.008407, allocations: 11.98 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.008416, allocations: 336 / 0.9544 GB, free: 15.27 MB / 0.9167 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 7.826e-05/0.008494, allocations: 113.8 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.008522, allocations: 7.891 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.008834, allocations: 129.6 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008836, allocations: 0 / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.00884, allocations: 0 / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.008843, allocations: 3.938 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.009066, allocations: 144.7 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009068, allocations: 0 / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.00914, allocations: 19.86 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.009144, allocations: 7.938 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.009153, allocations: 4 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.009155, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009156, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.009464, allocations: 199.5 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.009478, allocations: 11.89 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.009491, allocations: 0 / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.009581, allocations: 11.98 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.009621, allocations: 3.984 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.009625, allocations: 8 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.009682, allocations: 102.6 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.01e-07/0.009682, allocations: 0 / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002904/0.009972, allocations: 8 kB / 0.9552 GB, free: 14.42 MB / 0.9167 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.000589/0.01056, allocations: 0.7435 MB / 0.9559 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.01085, allocations: 83.92 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01085, allocations: 0 / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01098, allocations: 43.89 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.01129, allocations: 8 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.01182, allocations: 183 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.692e-05/0.01192, allocations: 79.27 kB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.01195, allocations: 8 kB / 0.9563 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.01199, allocations: 16.5 kB / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of SimCode: time 4.8e-07/0.012, allocations: 0 / 0.9563 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.02904, allocations: 2.573 MB / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.767, allocations: 5.484 kB / 0.9588 GB, free: 10.74 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.761371335014701]