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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008904/0.008904, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001354/0.001354, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.88 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.105, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002875/1.108, allocations: 1.48 MB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000334/1.108, allocations: 106.6 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/1.108, allocations: 3.938 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/1.108, allocations: 6.234 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/1.109, allocations: 9.578 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/1.109, allocations: 20.81 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.98e-05/1.109, allocations: 47.23 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/1.109, allocations: 14.72 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/1.109, allocations: 17.25 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/1.109, allocations: 23.7 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/1.109, allocations: 3.875 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/1.109, allocations: 19.56 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/1.109, allocations: 17.86 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/1.109, allocations: 17.98 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/1.109, allocations: 57.12 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/1.109, allocations: 4.516 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/1.11, allocations: 0.7188 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.25e-06/1.11, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 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.0004981/1.11, allocations: 377.8 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.11, allocations: 13.22 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/1.11, allocations: 7.438 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/1.11, allocations: 183.3 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/1.11, allocations: 5.562 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.11, allocations: 1.281 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/1.111, allocations: 74.2 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.111, allocations: 192 / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.111, allocations: 9.156 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/1.111, allocations: 0 / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/1.111, allocations: 76.11 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/1.111, allocations: 284.8 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/1.111, allocations: 67.33 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/1.112, allocations: 46.44 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/1.112, allocations: 105.2 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/1.112, allocations: 40.16 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/1.112, allocations: 0 / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005728/1.112, allocations: 151 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/1.112, allocations: 53.05 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.113, allocations: 128.7 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/1.113, allocations: 25.7 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/1.113, allocations: 89.64 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/1.113, allocations: 13.98 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/1.113, allocations: 16.75 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/1.113, allocations: 320.3 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/1.113, allocations: 34.66 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/1.113, allocations: 36.3 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/1.113, allocations: 83.17 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/1.113, allocations: 4.781 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003446/1.114, allocations: 112.5 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.114, allocations: 4.812 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.114, allocations: 5 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.114, allocations: 4.797 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.114, allocations: 15.56 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.114, allocations: 5.047 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/1.114, allocations: 15.05 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.114, allocations: 4.812 kB / 1.092 GB, free: 2.398 MB / 0.8575 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 9.045e-05/1.114, allocations: 115.7 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.114, allocations: 6.734 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005012/1.115, allocations: 127.5 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.115, allocations: 0.75 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.115, allocations: 1.031 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.115, allocations: 0.7969 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/1.115, allocations: 179.6 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.115, allocations: 0 / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/1.115, allocations: 20.05 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.115, allocations: 4.797 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/1.115, allocations: 0.9688 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.115, allocations: 0 / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.115, allocations: 0.8125 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/1.116, allocations: 212.6 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/1.116, allocations: 87.53 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/1.116, allocations: 6.344 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/1.116, allocations: 10.86 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/1.116, allocations: 3.453 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.116, allocations: 1.031 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.591e-05/1.116, allocations: 104.9 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/1.116, allocations: 0.8438 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003822/1.117, allocations: 8.781 kB / 1.093 GB, free: 1.664 MB / 0.8575 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.0001874/1.117, allocations: 101.8 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004554/1.117, allocations: 84.84 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.117, allocations: 0 / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/1.117, allocations: 44.05 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/1.118, allocations: 13.11 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/1.118, allocations: 156.5 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/1.118, allocations: 0.6863 MB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.535e-05/1.118, allocations: 2.703 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/1.118, allocations: 9.25 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/1.118, allocations: 0.875 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of Templates: time 0.005139/1.124, allocations: 0.7927 MB / 1.095 GB, free: 0.6172 MB / 0.8575 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