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.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.001122/0.001122, 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.0009266/0.0009266, allocations: 165.9 kB / 22.45 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.8672/0.8672, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.82/1.82, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.323e-06/1.323e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.203e-05, allocations: 10.28 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00202/0.002042, allocations: 1.487 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002566/0.002298, allocations: 103.6 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.002332, allocations: 3.938 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.002373, allocations: 3.938 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.002431, allocations: 19.86 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.002639, allocations: 19.97 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.002718, allocations: 47.78 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.00281, allocations: 8 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.002866, allocations: 23.97 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.002907, allocations: 15.98 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.002923, allocations: 7.938 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.488e-05/0.002978, allocations: 11.98 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.003025, allocations: 19.97 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.003045, allocations: 15.94 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.003158, allocations: 51.86 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00316, allocations: 4 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003161, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.003165, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 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.0003754/0.00354, allocations: 306 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.003579, allocations: 8.75 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.003609, allocations: 38.69 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.003633, allocations: 8.891 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.003712, allocations: 133.6 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.003722, allocations: 4.375 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.003731, allocations: 384 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.003899, allocations: 70.22 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.003906, allocations: 192 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.003915, allocations: 8.375 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.00392, allocations: 4.125 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.004069, allocations: 83.91 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.004362, allocations: 248 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.004491, allocations: 62.53 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.004568, allocations: 40.92 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.004725, allocations: 35.91 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.004745, allocations: 38.56 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.004746, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003142/0.00506, allocations: 149.5 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.005087, allocations: 51.41 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.005164, allocations: 133.8 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005175, allocations: 25.7 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.005212, allocations: 88.14 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.00523, allocations: 11.94 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.005255, allocations: 13.72 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.005327, allocations: 318.8 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.005404, allocations: 39.89 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.005473, allocations: 39.95 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.005614, allocations: 80.78 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005615, allocations: 0 / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001713/0.005787, allocations: 117.5 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.0058, allocations: 9.562 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005804, allocations: 0 / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.005816, allocations: 0 / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.23e-05/0.005888, allocations: 19.97 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005892, allocations: 3.938 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.00593, allocations: 11.98 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.005937, allocations: 4 kB / 1.004 GB, free: 9.289 MB / 0.9636 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.755e-05/0.005995, allocations: 117.8 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.006009, allocations: 7.891 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.006207, allocations: 125.5 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.006211, allocations: 4 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.006215, allocations: 0 / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.006217, allocations: 0 / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.006326, allocations: 144.7 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006327, allocations: 0 / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.006393, allocations: 19.92 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.006396, allocations: 0 / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.006403, allocations: 4 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006403, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006404, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.006591, allocations: 204.6 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.006603, allocations: 23.92 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.006613, allocations: 3.938 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.006664, allocations: 15.97 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.006696, allocations: 4 kB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.0067, allocations: 4 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.006739, allocations: 102.8 kB / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006739, allocations: 0 / 1.004 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001545/0.006894, allocations: 8 kB / 1.004 GB, free: 8.438 MB / 0.9636 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.0003859/0.00728, allocations: 0.7397 MB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.007479, allocations: 75.86 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.007481, allocations: 0 / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.007558, allocations: 47.95 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.007749, allocations: 4 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.008133, allocations: 186.4 kB / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.008185, allocations: 83.17 kB / 1.005 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.008207, allocations: 0 / 1.005 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.008243, allocations: 16.5 kB / 1.005 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.008243, allocations: 3.938 kB / 1.005 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.0227, allocations: 2.583 MB / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.749, allocations: 20.14 kB / 1.008 GB, free: 4.738 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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.836873815394938]