Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_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.001416/0.001416, allocations: 111.8 kB / 16.41 MB, free: 6.457 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.00138/0.00138, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 63.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7244, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002427/0.7269, allocations: 1.492 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000309/0.7272, allocations: 107 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.7272, allocations: 0 / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.7273, allocations: 3.938 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.206e-05/0.7274, allocations: 15.86 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.7276, allocations: 19.97 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.885e-05/0.7276, allocations: 35.92 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.7277, allocations: 23.92 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.7278, allocations: 19.86 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.7278, allocations: 15.92 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.7279, allocations: 4 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.7279, allocations: 19.98 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.045e-05/0.728, allocations: 19.91 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.728, allocations: 27.86 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.7281, allocations: 56.31 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7282, allocations: 0 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7282, allocations: 4 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.7282, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 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.0005265/0.7287, allocations: 379.1 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.7288, allocations: 12.92 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.7288, allocations: 8.891 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.7289, allocations: 172.3 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.7289, allocations: 4.375 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.729, allocations: 384 / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.7292, allocations: 82.14 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.7292, allocations: 192 / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.7292, allocations: 7.938 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.7293, allocations: 0 / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.7295, allocations: 71.92 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.7299, allocations: 285 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.7301, allocations: 70.41 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.7303, allocations: 44.92 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.7305, allocations: 109.1 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.7305, allocations: 30.56 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7306, allocations: 7.938 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005205/0.7311, allocations: 149.5 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7311, allocations: 51.41 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.7312, allocations: 127.3 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.7313, allocations: 25.7 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.7313, allocations: 100.1 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.7314, allocations: 7.906 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.7314, allocations: 21.66 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7315, allocations: 314.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.7317, allocations: 39.95 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.7318, allocations: 39.95 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.7321, allocations: 85.06 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7321, allocations: 3.938 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003184/0.7324, allocations: 113.6 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.7325, allocations: 4 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.7325, allocations: 3.938 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7325, allocations: 3.984 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.7326, allocations: 23.92 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.7326, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.7327, allocations: 11.98 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.7327, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 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.0001016/0.7328, allocations: 121.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.7329, allocations: 4 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.7332, allocations: 121.5 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7332, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7332, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.95e-05/0.7333, allocations: 0 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.7335, allocations: 185.6 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7335, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.7336, allocations: 11.98 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7336, allocations: 7.984 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.7336, allocations: 3.938 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7336, allocations: 4 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7336, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.734, allocations: 203.4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.734, allocations: 85.06 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.7341, allocations: 3.938 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.7342, allocations: 15.98 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.7342, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7342, allocations: 3.984 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.7343, allocations: 100.4 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7343, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000215/0.7345, allocations: 8 kB / 1.172 GB, free: 14.4 MB / 0.9044 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.0001419/0.7347, allocations: 99.19 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.735, allocations: 91.84 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.735, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.7352, allocations: 35.97 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.7354, allocations: 11.94 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.7357, allocations: 153.4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.736, allocations: 0.6846 MB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.7361, allocations: 7.984 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.7361, allocations: 11.44 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7361, allocations: 0 / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003193/0.7393, allocations: 0.8037 MB / 1.174 GB, free: 12.46 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches