Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 109.5 kB / 16.41 MB, free: 5.992 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.001277/0.001277, allocations: 196.2 kB / 17.34 MB, free: 5.602 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.18 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.437/2.437, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 68.11 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.713, allocations: 151.6 MB / 1.167 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002397/0.7154, allocations: 1.484 MB / 1.169 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003062/0.7157, allocations: 118.9 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.7158, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.7158, allocations: 0 / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.7159, allocations: 11.88 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.7161, allocations: 19.97 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.7162, allocations: 47.84 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.7163, allocations: 12 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.7164, allocations: 15.92 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.7164, allocations: 27.89 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.7164, allocations: 4 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.7165, allocations: 23.92 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.7165, allocations: 15.98 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.7166, allocations: 19.88 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.7167, allocations: 60.72 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7167, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7167, allocations: 4 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.7167, allocations: 0 / 1.169 GB, free: 2.145 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.0005471/0.7173, allocations: 383.1 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.7173, allocations: 8.922 kB / 1.17 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.7174, allocations: 12.83 kB / 1.17 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.7175, allocations: 178 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.7175, allocations: 384 / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.7176, allocations: 4.375 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.7178, allocations: 74.22 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7178, allocations: 192 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.7178, allocations: 3.938 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7179, allocations: 4 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.7181, allocations: 71.92 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.7185, allocations: 281 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.7188, allocations: 74.41 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.7189, allocations: 48.91 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.7191, allocations: 117 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.7192, allocations: 30.56 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.7192, allocations: 0 / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005395/0.7197, allocations: 157.5 kB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.7198, allocations: 51.41 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.7199, allocations: 125.8 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7199, allocations: 25.7 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.72, allocations: 92.08 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.72, allocations: 15.89 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.72, allocations: 13.72 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.7202, allocations: 318.8 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.7203, allocations: 35.95 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.7205, allocations: 35.97 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.7208, allocations: 84.77 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.7208, allocations: 3.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.7211, allocations: 109.5 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7211, allocations: 10.81 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7211, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7211, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.7213, allocations: 19.97 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.7213, allocations: 4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-05/0.7214, allocations: 7.984 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.7214, allocations: 4 kB / 1.171 GB, free: 15.55 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 8.929e-05/0.7215, allocations: 117.8 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.7215, allocations: 0 / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.7219, allocations: 129.4 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7219, allocations: 4 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.7219, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7219, allocations: 0 / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.7221, allocations: 181.6 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7221, allocations: 3.938 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.7222, allocations: 19.98 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7222, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.7222, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.7222, allocations: 11.98 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7222, allocations: 3.984 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.7226, allocations: 203.4 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.7227, allocations: 81.06 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.7227, allocations: 8.406 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.7228, allocations: 11.98 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.7228, allocations: 8 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.7229, allocations: 0 / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.916e-05/0.7229, allocations: 104.3 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7229, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002192/0.7232, allocations: 15.94 kB / 1.172 GB, free: 14.55 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.0001425/0.7233, allocations: 103.2 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.7237, allocations: 83.91 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7237, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7238, allocations: 39.95 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.7241, allocations: 11.94 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.7244, allocations: 153.3 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.7247, allocations: 0.6846 MB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.7247, allocations: 4 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.7248, allocations: 7.438 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.7248, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.00322/0.728, allocations: 0.8047 MB / 1.174 GB, free: 12.62 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches