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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 176.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009481/0.0009481, allocations: 99.64 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.739e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2316, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8127/1.044, allocations: 148.5 MB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001505/1.044, allocations: 71.23 kB / 1.351 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003086/1.048, allocations: 1.069 MB / 1.352 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.048, allocations: 1.25 kB / 1.352 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.048, allocations: 0 / 1.352 GB, free: 33.98 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.0003495/1.048, allocations: 375.3 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/1.048, allocations: 9 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/1.048, allocations: 3.188 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/1.048, allocations: 178.2 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/1.048, allocations: 1.922 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/1.048, allocations: 1.25 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.32e-05/1.048, allocations: 30.97 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.536e-05/1.048, allocations: 54.69 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/1.048, allocations: 1.875 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/1.048, allocations: 0 / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.048, allocations: 4 kB / 1.353 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/1.049, allocations: 302.1 kB / 1.353 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.142e-05/1.049, allocations: 48.11 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/1.049, allocations: 24.06 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/1.049, allocations: 107.2 kB / 1.353 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/1.049, allocations: 30.56 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.049, allocations: 1.312 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001996/1.049, allocations: 78.39 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.41e-05/1.049, allocations: 56.16 kB / 1.353 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/1.049, allocations: 110.8 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/1.049, allocations: 25.7 kB / 1.354 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/1.05, allocations: 92.33 kB / 1.354 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/1.05, allocations: 8.562 kB / 1.354 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/1.05, allocations: 5.453 kB / 1.354 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/1.05, allocations: 320.5 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/1.05, allocations: 16.86 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/1.05, allocations: 17.02 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/1.05, allocations: 31.66 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/1.05, allocations: 0 / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001187/1.05, allocations: 68.3 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.05, allocations: 8.516 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/1.05, allocations: 1.688 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/1.05, allocations: 0 / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/1.05, allocations: 20.88 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.05, allocations: 4.703 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/1.05, allocations: 19.06 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/1.05, allocations: 3.844 kB / 1.354 GB, free: 32.29 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.05, allocations: 105.6 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/1.05, allocations: 9.094 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/1.05, allocations: 83.92 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/1.051, allocations: 4.609 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.051, allocations: 0 / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.051, allocations: 4.531 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/1.051, allocations: 156.2 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.051, allocations: 3.797 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.051, allocations: 27.42 kB / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.051, allocations: 0 / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/1.051, allocations: 0 / 1.354 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.051, allocations: 4.797 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.051, allocations: 0 / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/1.051, allocations: 174.4 kB / 1.355 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/1.051, allocations: 85.62 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/1.051, allocations: 0.5625 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/1.051, allocations: 16.48 kB / 1.355 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/1.051, allocations: 12.92 kB / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/1.051, allocations: 0.6094 kB / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.819e-05/1.051, allocations: 102.1 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.051, allocations: 0 / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002074/1.051, allocations: 19.62 kB / 1.355 GB, free: 31.64 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001126/1.052, allocations: 98.84 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.363e-05/1.052, allocations: 31.61 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.052, allocations: 7.75 kB / 1.355 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.847e-05/1.052, allocations: 20.77 kB / 1.355 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/1.052, allocations: 0.7969 kB / 1.355 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/1.052, allocations: 89.45 kB / 1.355 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/1.052, allocations: 0.6915 MB / 1.356 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.189e-05/1.052, allocations: 0.7031 kB / 1.356 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/1.052, allocations: 11.25 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.052, allocations: 4 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.002388/1.055, allocations: 0.595 MB / 1.356 GB, free: 30.71 MB / 0.8386 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","../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches