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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.002021/0.002021, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 60.84 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2964, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00243/0.2988, allocations: 1.491 MB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002664/0.2991, allocations: 103.7 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.2992, allocations: 0 / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.2992, allocations: 3.938 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.2993, allocations: 11.88 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.2995, allocations: 23.97 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.241e-05/0.2996, allocations: 43.8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.2997, allocations: 19.97 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.2997, allocations: 19.92 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.2998, allocations: 19.92 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2998, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.2999, allocations: 23.98 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.2999, allocations: 11.98 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.2999, allocations: 19.81 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3001, allocations: 55.84 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3001, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3001, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3001, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 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.000506/0.3006, allocations: 381.2 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3006, allocations: 15.97 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3007, allocations: 8.844 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3008, allocations: 175.7 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.3008, allocations: 384 / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3008, allocations: 4.375 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3011, allocations: 74.16 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3011, allocations: 4.125 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3011, allocations: 3.938 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3011, allocations: 4 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.3014, allocations: 79.91 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.3017, allocations: 277 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.302, allocations: 78.41 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.3021, allocations: 44.91 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.3024, allocations: 109 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.3024, allocations: 34.56 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.3024, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005449/0.303, allocations: 145.6 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.303, allocations: 51.41 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3031, allocations: 129.8 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3032, allocations: 29.7 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.3032, allocations: 91.98 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3032, allocations: 11.91 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.3033, allocations: 17.7 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.3034, allocations: 318.8 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3035, allocations: 35.95 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3037, allocations: 39.97 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.304, allocations: 77.06 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.304, allocations: 7.922 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003199/0.3043, allocations: 117.5 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3044, allocations: 4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3044, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.3044, allocations: 0 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3045, allocations: 19.97 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3045, allocations: 3.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.3046, allocations: 15.98 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.3046, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 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 6.888e-05/0.3047, allocations: 121.8 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.3047, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.3051, allocations: 121.5 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3051, allocations: 4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3051, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3051, allocations: 4 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3053, allocations: 189.4 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3053, allocations: 4 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.3054, allocations: 11.98 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3054, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3054, allocations: 4 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3054, allocations: 3.938 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3054, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.3058, allocations: 211.3 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.3058, allocations: 85.02 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3059, allocations: 0 / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.306, allocations: 15.97 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.306, allocations: 4 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.306, allocations: 0 / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.309e-05/0.3061, allocations: 103.3 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3061, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002197/0.3063, allocations: 12 kB / 1.073 GB, free: 4.977 MB / 0.8262 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.0001339/0.3065, allocations: 99.77 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.3068, allocations: 79.86 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3068, allocations: 4 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.307, allocations: 43.95 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.3072, allocations: 9.5 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.3076, allocations: 157.4 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3078, allocations: 0.6885 MB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.3079, allocations: 3.859 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3079, allocations: 11.44 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of SimCode: time 1.563e-06/0.3079, allocations: 0 / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of Templates: time 0.002968/0.3109, allocations: 0.8035 MB / 1.075 GB, free: 3.031 MB / 0.8262 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