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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_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.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001226/0.001226, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.542/1.542, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 65.84 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3121, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003923/0.3161, allocations: 1.541 MB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000445/0.3166, allocations: 107.7 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.3166, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.828e-05/0.3167, allocations: 3.938 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.3168, allocations: 11.92 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.317, allocations: 19.97 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3172, allocations: 43.8 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3173, allocations: 7.984 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.3174, allocations: 12 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.3175, allocations: 27.84 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.3175, allocations: 4 kB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.3176, allocations: 19.98 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.3177, allocations: 7.984 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3177, allocations: 19.86 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3179, allocations: 55.81 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3179, allocations: 0 / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3179, allocations: 3.938 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.318, allocations: 0 / 1.054 GB, free: 6.953 MB / 0.8106 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.0007929/0.3188, allocations: 387.4 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3188, allocations: 8.031 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.3189, allocations: 8.844 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3191, allocations: 172.3 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3191, allocations: 4.375 kB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3191, allocations: 384 / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.3195, allocations: 74.16 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3196, allocations: 8.188 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3196, allocations: 3.938 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3196, allocations: 4 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.3202, allocations: 75.91 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.3208, allocations: 288.9 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.3211, allocations: 66.47 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.3215, allocations: 52.84 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/0.3219, allocations: 105.1 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3219, allocations: 34.55 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.322, allocations: 4 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0009309/0.3229, allocations: 145.5 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.323, allocations: 55.41 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3231, allocations: 133 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3232, allocations: 25.7 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.3233, allocations: 96.08 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.3233, allocations: 7.812 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.3234, allocations: 21.7 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3235, allocations: 310.8 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.3238, allocations: 51.89 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.3241, allocations: 31.97 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.3247, allocations: 76.78 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.3247, allocations: 3.938 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005786/0.3253, allocations: 113.9 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3253, allocations: 4 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3253, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3253, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3255, allocations: 16.03 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3255, allocations: 3.938 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.3257, allocations: 23.95 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3257, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 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.0001056/0.3258, allocations: 117.8 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.3259, allocations: 7.906 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.3265, allocations: 117.5 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3265, allocations: 7.938 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3265, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3265, allocations: 0 / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3268, allocations: 185.6 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3268, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.327, allocations: 11.98 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.327, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3271, allocations: 3.938 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3271, allocations: 3.938 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3271, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.3277, allocations: 215.3 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.3278, allocations: 85.02 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3278, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3281, allocations: 15.97 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.3282, allocations: 8 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.3282, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.437e-05/0.3283, allocations: 99.27 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/0.3283, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004451/0.3288, allocations: 8 kB / 1.057 GB, free: 3.367 MB / 0.8106 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.0002088/0.329, allocations: 99.23 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.3296, allocations: 87.86 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3296, allocations: 0 / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.3299, allocations: 39.95 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3303, allocations: 13.03 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.3308, allocations: 167.2 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3312, allocations: 0.6848 MB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.393e-05/0.3313, allocations: 7.859 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.3313, allocations: 11.38 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.3314, allocations: 0 / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of Templates: time 0.004458/0.3358, allocations: 0.6771 MB / 1.059 GB, free: 1.531 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) 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) Reference file matches