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.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.001328/0.001328, allocations: 111.3 kB / 17.6 MB, free: 4.668 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.001394/0.001394, allocations: 190.8 kB / 20.78 MB, free: 1.5 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.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.002128/0.002128, allocations: 63.89 kB / 1.107 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8695/0.8716, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002309/0.874, allocations: 1.522 MB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.8742, allocations: 105.3 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.8743, allocations: 0.9688 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.8743, allocations: 5.203 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.8743, allocations: 7.016 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.8745, allocations: 23.92 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.8746, allocations: 39.92 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.8747, allocations: 9.188 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.8747, allocations: 21.58 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.8748, allocations: 23.58 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.8748, allocations: 3.312 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.816e-05/0.8749, allocations: 24.16 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.8749, allocations: 10.03 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.875, allocations: 22.19 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.8751, allocations: 66.2 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8751, allocations: 0.5156 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8751, allocations: 0.8125 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8751, allocations: 0 / 1.273 GB, free: 6.457 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.0004607/0.8756, allocations: 385.4 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.8756, allocations: 9.594 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.8756, allocations: 32.14 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.8757, allocations: 12.16 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.528e-05/0.8758, allocations: 170.1 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.8758, allocations: 1.547 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.8758, allocations: 2.438 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.876, allocations: 77.72 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.876, allocations: 3.938 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.876, allocations: 5.031 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.8761, allocations: 3.938 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.8763, allocations: 72.2 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.8766, allocations: 295.9 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.8768, allocations: 67.75 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.877, allocations: 41.22 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.8772, allocations: 111 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.8772, allocations: 35.31 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8772, allocations: 0 / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.00064/0.8778, allocations: 143.4 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.8779, allocations: 56.28 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.8779, allocations: 129.9 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.878, allocations: 25.7 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.878, allocations: 95.84 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.878, allocations: 8.172 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.878, allocations: 17.16 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.8781, allocations: 316.1 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.8782, allocations: 39.88 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.8784, allocations: 40.66 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.8787, allocations: 85.67 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8787, allocations: 0.9375 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003156/0.879, allocations: 115.2 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.879, allocations: 5.219 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.879, allocations: 0 / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.879, allocations: 0.9062 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.8791, allocations: 16.64 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.8791, allocations: 0 / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.8792, allocations: 14.59 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.8792, allocations: 0.8125 kB / 1.276 GB, free: 4.5 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.4e-05/0.8793, allocations: 122.9 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.8793, allocations: 9.359 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.8797, allocations: 113.8 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8797, allocations: 4.562 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.8797, allocations: 4.656 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8797, allocations: 1.594 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.8798, allocations: 183.8 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8798, allocations: 0 / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.716e-05/0.8799, allocations: 20.5 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8799, allocations: 0 / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.8799, allocations: 0.8438 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8799, allocations: 3.938 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8799, allocations: 4.812 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.8803, allocations: 213 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.8803, allocations: 78.61 kB / 1.276 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.8803, allocations: 2.297 kB / 1.276 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.8804, allocations: 14.3 kB / 1.276 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.8805, allocations: 8.281 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.8805, allocations: 0.7188 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.8805, allocations: 98.25 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8805, allocations: 0.625 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002369/0.8808, allocations: 16.53 kB / 1.277 GB, free: 3.754 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.0005577/0.8813, allocations: 0.7493 MB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.8817, allocations: 78.88 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.8817, allocations: 4.719 kB / 1.277 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.8819, allocations: 38.73 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.8821, allocations: 9.297 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.8826, allocations: 202.8 kB / 1.278 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.8827, allocations: 0.687 MB / 1.278 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.8827, allocations: 5.656 kB / 1.278 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.8828, allocations: 19.36 kB / 1.278 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.8828, allocations: 0 / 1.278 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.9081, allocations: 1.863 MB / 1.28 GB, free: 17.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/9.05, allocations: 4.625 kB / 1.28 GB, free: 17.76 MB / 1.014 GB " [Timeout remaining time 291] (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 --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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.082433194998885]