Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_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.007932/0.007932, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001844/0.001844, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8192, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002903/0.8222, allocations: 1.491 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003286/0.8225, allocations: 115.6 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.8226, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.876e-05/0.8227, allocations: 7.922 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.8228, allocations: 7.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.823, allocations: 31.95 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.8231, allocations: 39.86 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.8232, allocations: 7.984 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.8233, allocations: 23.92 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.8233, allocations: 15.92 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.8234, allocations: 4 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.97e-05/0.8234, allocations: 19.98 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.8235, allocations: 19.92 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.8235, allocations: 23.86 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.8237, allocations: 59.8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.8237, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8237, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.8237, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 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.0005175/0.8242, allocations: 376.9 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8243, allocations: 8.031 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.8243, allocations: 12.84 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.8244, allocations: 176.2 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.8245, allocations: 384 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.8245, allocations: 4.359 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.8247, allocations: 78.2 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.8248, allocations: 192 / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.8248, allocations: 3.938 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8248, allocations: 0 / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.8251, allocations: 75.92 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.8255, allocations: 288.9 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.8257, allocations: 66.47 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.8259, allocations: 44.92 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.8261, allocations: 117 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.8262, allocations: 30.56 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8262, allocations: 3.938 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000571/0.8267, allocations: 145.5 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.8268, allocations: 51.41 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.8269, allocations: 129.8 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.8269, allocations: 25.7 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.827, allocations: 100 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.827, allocations: 7.906 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.827, allocations: 13.72 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8272, allocations: 322.8 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.8273, allocations: 35.91 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.8275, allocations: 35.95 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.8278, allocations: 80.78 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.8278, allocations: 3.938 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003397/0.8281, allocations: 117.5 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.8281, allocations: 8 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.8282, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8282, allocations: 4 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.8283, allocations: 11.98 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8283, allocations: 0 / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.8284, allocations: 15.92 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.8284, allocations: 0 / 1.212 GB, free: 9.125 MB / 0.9356 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.664e-05/0.8285, allocations: 121.8 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.8285, allocations: 8 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003719/0.8289, allocations: 117.8 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8289, allocations: 0 / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.8289, allocations: 4 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8289, allocations: 4.031 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.8291, allocations: 181.6 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8291, allocations: 0 / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.8292, allocations: 27.97 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8292, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.8292, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8293, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8293, allocations: 0 / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.8297, allocations: 219.2 kB / 1.212 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.8297, allocations: 81.02 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.8297, allocations: 3.938 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.8298, allocations: 11.98 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.8299, allocations: 3.984 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.8299, allocations: 4 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.83, allocations: 101 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.83, allocations: 0 / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002332/0.8302, allocations: 12 kB / 1.213 GB, free: 8.133 MB / 0.9356 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.0001305/0.8303, allocations: 99.25 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003595/0.8307, allocations: 79.91 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8307, allocations: 4 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.8309, allocations: 47.89 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.8311, allocations: 7.938 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.8315, allocations: 153.4 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.8317, allocations: 0.6885 MB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.028e-05/0.8317, allocations: 0 / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.8318, allocations: 15.44 kB / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.8318, allocations: 0 / 1.214 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of Templates: time 0.003035/0.8348, allocations: 0.8238 MB / 1.215 GB, free: 6.172 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches