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.005744/0.005744, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001287/0.001287, allocations: 195.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.947/2.947, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6042/0.6057, allocations: 140.3 MB / 0.9496 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002716/0.6084, allocations: 1.545 MB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.6088, allocations: 108 kB / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.6089, allocations: 1.375 kB / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.535e-05/0.6089, allocations: 0 / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.609, allocations: 14.67 kB / 0.9512 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.6092, allocations: 18.72 kB / 0.9512 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.6093, allocations: 45.67 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.6094, allocations: 5.5 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.6095, allocations: 17.42 kB / 0.9513 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.6095, allocations: 22.78 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.6095, allocations: 1.375 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.6096, allocations: 22.98 kB / 0.9513 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.6096, allocations: 10.73 kB / 0.9513 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.6097, allocations: 19.98 kB / 0.9514 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.6098, allocations: 40.27 kB / 0.9514 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6098, allocations: 3.984 kB / 0.9514 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6098, allocations: 0 / 0.9514 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.6098, allocations: 0 / 0.9514 GB, free: 7.605 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.0004516/0.6103, allocations: 377.3 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6103, allocations: 17.56 kB / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.6103, allocations: 3.688 kB / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.698e-05/0.6104, allocations: 180.2 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.6105, allocations: 5.734 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.6105, allocations: 5.75 kB / 0.952 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.6107, allocations: 76.28 kB / 0.952 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.6108, allocations: 192 / 0.952 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6108, allocations: 3.938 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6108, allocations: 5.375 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.6111, allocations: 78.53 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.6114, allocations: 277.7 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.6116, allocations: 80.66 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.6118, allocations: 43.72 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.612, allocations: 106.7 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.612, allocations: 36.03 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.612, allocations: 0 / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005536/0.6126, allocations: 146.8 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.6126, allocations: 51.41 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.6127, allocations: 133.5 kB / 0.953 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.6127, allocations: 25.7 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.6128, allocations: 91.98 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.6128, allocations: 5.25 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.6128, allocations: 20.33 kB / 0.9531 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.195e-05/0.6129, allocations: 320.1 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.6131, allocations: 37.67 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.6132, allocations: 37.66 kB / 0.9535 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.6135, allocations: 75.53 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6135, allocations: 3.938 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003227/0.6138, allocations: 118.3 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6139, allocations: 7.281 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6139, allocations: 3.938 kB / 0.9537 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6139, allocations: 3.938 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.614, allocations: 14.36 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.614, allocations: 5.453 kB / 0.9537 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/0.6141, allocations: 14.8 kB / 0.9537 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.6141, allocations: 1.219 kB / 0.9537 GB, free: 5.465 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/0.6142, allocations: 120.8 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.6142, allocations: 6.562 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.6146, allocations: 119 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6146, allocations: 0 / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6146, allocations: 0 / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6146, allocations: 5.266 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.6148, allocations: 191.7 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6148, allocations: 0 / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/0.6149, allocations: 18.8 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6149, allocations: 0 / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.6149, allocations: 5.312 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6149, allocations: 0 / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6149, allocations: 1.375 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.6152, allocations: 212.1 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.6153, allocations: 79.48 kB / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.6153, allocations: 0 / 0.9544 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.6154, allocations: 15.31 kB / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.6154, allocations: 5.281 kB / 0.9545 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.6155, allocations: 1.031 kB / 0.9545 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.6155, allocations: 100.4 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6155, allocations: 0 / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002306/0.6157, allocations: 12.7 kB / 0.9546 GB, free: 4.645 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 (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.0001309/0.6159, allocations: 108.6 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.6162, allocations: 74.83 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6162, allocations: 4 kB / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.6164, allocations: 44.61 kB / 0.9548 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.6166, allocations: 9.203 kB / 0.9548 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.617, allocations: 192.8 kB / 0.955 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.6171, allocations: 0.6915 MB / 0.9557 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.6171, allocations: 13.47 kB / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/0.6172, allocations: 0 / 0.9557 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Templates: time 0.002331/0.6195, allocations: 0.8904 MB / 0.9565 GB, free: 3.141 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches