Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.0009449, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005839/0.0005839, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8258/0.8264, allocations: 142.4 MB / 0.9544 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001567/0.828, allocations: 1.191 MB / 0.9556 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003049/0.8283, allocations: 98.56 kB / 0.9557 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.8284, allocations: 1.156 kB / 0.9557 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.8284, allocations: 3.984 kB / 0.9557 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.8285, allocations: 10.83 kB / 0.9557 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.8287, allocations: 27.39 kB / 0.9557 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.8288, allocations: 33.98 kB / 0.9558 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.8289, allocations: 12.55 kB / 0.9558 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.8289, allocations: 18.92 kB / 0.9558 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.829, allocations: 18.05 kB / 0.9558 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.829, allocations: 1.188 kB / 0.9558 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.916e-05/0.8291, allocations: 14.42 kB / 0.9558 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.8291, allocations: 18.91 kB / 0.9558 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.8292, allocations: 36.05 kB / 0.9559 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.8293, allocations: 27.69 kB / 0.9559 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.8293, allocations: 4 kB / 0.9559 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8293, allocations: 1.031 kB / 0.9559 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8293, allocations: 0 / 0.9559 GB, free: 6.75 MB / 0.7169 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.0005274/0.8299, allocations: 388.2 kB / 0.9563 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.8299, allocations: 8.5 kB / 0.9563 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.83, allocations: 10.61 kB / 0.9563 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.8301, allocations: 171.8 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.8301, allocations: 1.281 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.8301, allocations: 1.594 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.8305, allocations: 88.23 kB / 0.9566 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.8305, allocations: 0 / 0.9566 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.8305, allocations: 0 / 0.9566 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.8305, allocations: 0.8438 kB / 0.9566 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.8308, allocations: 106.5 kB / 0.9567 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.8313, allocations: 290.1 kB / 0.9569 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.8316, allocations: 77.66 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.8318, allocations: 57.48 kB / 0.9571 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.8321, allocations: 104.7 kB / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.8321, allocations: 31.75 kB / 0.9572 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.8321, allocations: 0 / 0.9572 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006463/0.8328, allocations: 191.8 kB / 0.9574 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.8328, allocations: 52.59 kB / 0.9574 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.8329, allocations: 124 kB / 0.9575 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.833, allocations: 27.05 kB / 0.9576 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.833, allocations: 94.55 kB / 0.9577 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.8331, allocations: 9.109 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.8331, allocations: 0 / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.8332, allocations: 325.2 kB / 0.958 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.8333, allocations: 46.11 kB / 0.958 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.8335, allocations: 48.16 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.8336, allocations: 50.48 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8336, allocations: 0 / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003723/0.834, allocations: 133.6 kB / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.8341, allocations: 9.688 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8341, allocations: 3.938 kB / 0.9583 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.8341, allocations: 3.953 kB / 0.9583 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.8343, allocations: 19.42 kB / 0.9583 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.8343, allocations: 1 kB / 0.9583 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.795e-05/0.8344, allocations: 18.98 kB / 0.9583 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.8344, allocations: 5.688 kB / 0.9583 GB, free: 4.645 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.474e-05/0.8345, allocations: 118.4 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.8345, allocations: 6.469 kB / 0.9584 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.8349, allocations: 144.1 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8349, allocations: 1.812 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8349, allocations: 3.953 kB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8349, allocations: 0 / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.8351, allocations: 176 kB / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.8351, allocations: 0 / 0.9587 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.771e-05/0.8352, allocations: 32 kB / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8352, allocations: 0 / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.8352, allocations: 1.312 kB / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.8352, allocations: 0 / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8352, allocations: 0 / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.8355, allocations: 229.5 kB / 0.959 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.8356, allocations: 82.39 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.8356, allocations: 5.422 kB / 0.9591 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.8357, allocations: 22.97 kB / 0.9591 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.8358, allocations: 6.734 kB / 0.9591 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.8358, allocations: 0 / 0.9591 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.8358, allocations: 100.6 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8358, allocations: 3.938 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002323/0.8361, allocations: 13.62 kB / 0.9592 GB, free: 3.82 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.8362, allocations: 108.8 kB / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.8365, allocations: 101.9 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8365, allocations: 4 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.8367, allocations: 50.34 kB / 0.9595 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.837, allocations: 14.67 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.8374, allocations: 154.2 kB / 0.9596 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.8375, allocations: 0.6874 MB / 0.9603 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.8376, allocations: 9.953 kB / 0.9603 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.8376, allocations: 9.531 kB / 0.9603 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8376, allocations: 0 / 0.9603 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.003236/0.8409, allocations: 0.6383 MB / 0.9609 GB, free: 2.465 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches