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.001378/0.001378, allocations: 84.73 kB / 19.44 MB, free: 344 kB / 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.001535/0.001535, allocations: 161.7 kB / 22.76 MB, free: 1.672 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 1.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.166/3.166, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.734e-05/3.923e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00281/0.002849, allocations: 1.517 MB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.003161, allocations: 101.1 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.00319, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.003238, allocations: 3.938 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.0033, allocations: 14.95 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.003498, allocations: 20.5 kB / 0.8792 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.404e-05/0.003592, allocations: 48.48 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.003672, allocations: 8.625 kB / 0.8793 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.048e-05/0.003742, allocations: 23.97 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.003792, allocations: 21.52 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.003812, allocations: 4 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.003881, allocations: 19.98 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.003927, allocations: 7.984 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.003968, allocations: 17.77 kB / 0.8793 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.004108, allocations: 63.8 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00411, allocations: 0 / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00411, allocations: 0 / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.004114, allocations: 0 / 0.8794 GB, free: 4.625 MB / 0.8386 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.0005728/0.004687, allocations: 308.7 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.00473, allocations: 8.031 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.004783, allocations: 12.89 kB / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.004923, allocations: 120.2 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.004935, allocations: 4.375 kB / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.004945, allocations: 384 / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.005225, allocations: 80.58 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.005232, allocations: 192 / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.005242, allocations: 384 / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.005246, allocations: 384 / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.005574, allocations: 81.2 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.005963, allocations: 232.5 kB / 0.8802 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.006193, allocations: 62.53 kB / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.006363, allocations: 44.91 kB / 0.8803 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.00656, allocations: 23.98 kB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.006591, allocations: 38.56 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.006592, allocations: 0 / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006268/0.007218, allocations: 153.4 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.007265, allocations: 59.39 kB / 0.8806 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.007397, allocations: 125.8 kB / 0.8807 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.007417, allocations: 33.7 kB / 0.8807 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.007486, allocations: 88.12 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.007512, allocations: 15.91 kB / 0.8808 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.007552, allocations: 9.719 kB / 0.8808 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.007724, allocations: 326.8 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.007893, allocations: 31.97 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.008045, allocations: 39.95 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.008351, allocations: 92.98 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008353, allocations: 0 / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005817/0.008935, allocations: 109.6 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.008952, allocations: 7.938 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008956, allocations: 0 / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.008972, allocations: 4 kB / 0.8814 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.009098, allocations: 15.98 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.009102, allocations: 0 / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.009188, allocations: 15.98 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.009195, allocations: 0 / 0.8815 GB, free: 2.355 MB / 0.8386 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 0.0001059/0.009301, allocations: 113.8 kB / 0.8816 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.009337, allocations: 11.95 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.009766, allocations: 125.5 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.009769, allocations: 0 / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.009773, allocations: 0 / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.009779, allocations: 3.984 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.009963, allocations: 121.3 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009964, allocations: 0 / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.01007, allocations: 15.98 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01007, allocations: 0 / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.01007, allocations: 4 kB / 0.8818 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.01008, allocations: 7.922 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01008, allocations: 0 / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.01053, allocations: 208.1 kB / 0.882 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.01054, allocations: 7.938 kB / 0.8821 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.01055, allocations: 4 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01068, allocations: 15.92 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.01073, allocations: 8 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.01074, allocations: 0 / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.139e-05/0.01082, allocations: 103.1 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01082, allocations: 0 / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002426/0.01106, allocations: 15.94 kB / 0.8822 GB, free: 1.547 MB / 0.8386 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.0001745/0.01124, allocations: 99.19 kB / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.01162, allocations: 83.91 kB / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01163, allocations: 0 / 0.8824 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.0118, allocations: 39.91 kB / 0.8824 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.01205, allocations: 10.5 kB / 0.8824 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.01247, allocations: 164.3 kB / 0.8826 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.01256, allocations: 67.34 kB / 0.8826 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.455e-05/0.01261, allocations: 11.98 kB / 0.8826 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.01265, allocations: 16.5 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.01265, allocations: 0 / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of Templates: time 0.003787/0.01644, allocations: 0.8463 MB / 0.8835 GB, free: 172 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 800] 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: 8.082590935053304]