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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001008/0.001008, allocations: 108.5 kB / 16.37 MB, free: 6.477 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.0009758/0.0009758, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.185/1.185, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.223/2.223, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.94 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2504, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002247/0.2527, allocations: 1.488 MB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002545/0.253, allocations: 112.5 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.253, allocations: 0 / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.2531, allocations: 3.938 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.2531, allocations: 11.88 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.2533, allocations: 23.91 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.149e-05/0.2534, allocations: 43.89 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.2535, allocations: 12 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.2535, allocations: 19.92 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.2536, allocations: 19.91 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.2536, allocations: 4 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.605e-05/0.2537, allocations: 19.98 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2537, allocations: 11.94 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.2537, allocations: 23.86 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2539, allocations: 63.73 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2539, allocations: 0 / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2539, allocations: 0 / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2539, allocations: 0 / 1.029 GB, free: 188 kB / 0.795 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.0004577/0.2543, allocations: 379.2 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.2544, allocations: 8.031 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.2544, allocations: 12.84 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.2545, allocations: 168.3 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.2545, allocations: 384 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2545, allocations: 8.359 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.2548, allocations: 74.22 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2548, allocations: 192 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2548, allocations: 3.938 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2548, allocations: 4 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002842/0.2551, allocations: 71.86 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.2554, allocations: 289 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.2556, allocations: 70.47 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.2558, allocations: 48.91 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.256, allocations: 109.1 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.256, allocations: 34.5 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.256, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004749/0.2565, allocations: 149.5 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2565, allocations: 59.39 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.2566, allocations: 125.6 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2566, allocations: 25.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.2567, allocations: 100.1 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2567, allocations: 7.812 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.2567, allocations: 17.72 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.2568, allocations: 314.8 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.257, allocations: 39.97 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.2571, allocations: 39.95 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.2573, allocations: 80.94 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2574, allocations: 7.875 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002757/0.2576, allocations: 121.6 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2577, allocations: 4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2577, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2577, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2578, allocations: 15.98 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2578, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.2579, allocations: 15.98 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.2579, allocations: 0 / 1.031 GB, free: 13.59 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 7.695e-05/0.258, allocations: 125.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.258, allocations: 11.84 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.2583, allocations: 113.5 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2583, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.2583, allocations: 3.984 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2583, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.2585, allocations: 181.6 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2585, allocations: 3.984 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.355e-05/0.2586, allocations: 11.98 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2586, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2586, allocations: 4 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2586, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2586, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.2589, allocations: 215.2 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.259, allocations: 85.02 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.259, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2591, allocations: 15.98 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.2592, allocations: 11.98 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2592, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.2592, allocations: 95.27 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2592, allocations: 4 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002091/0.2595, allocations: 8 kB / 1.032 GB, free: 12.61 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.0001126/0.2596, allocations: 99.25 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.2599, allocations: 87.84 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2599, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.26, allocations: 43.89 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2603, allocations: 14.91 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.2605, allocations: 145.5 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2608, allocations: 0.6924 MB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.2608, allocations: 7.797 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.2608, allocations: 15.44 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2608, allocations: 0 / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of Templates: time 0.002618/0.2634, allocations: 0.7902 MB / 1.034 GB, free: 10.66 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches