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.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.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.001023/0.001023, allocations: 98.88 kB / 16.02 MB, free: 76 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.001407/0.001407, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003855, allocations: 12.5 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3346, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001801/0.3364, allocations: 1.214 MB / 1.061 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003668/0.3368, allocations: 111.7 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.3369, allocations: 0 / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.3369, allocations: 7.875 kB / 1.061 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.337, allocations: 7.938 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.3372, allocations: 15.98 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.236e-05/0.3373, allocations: 39.84 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.3374, allocations: 12 kB / 1.061 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.3374, allocations: 19.92 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.3375, allocations: 19.91 kB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3375, allocations: 4 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.3376, allocations: 23.91 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.3377, allocations: 4 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.3377, allocations: 49.56 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.693e-05/0.3378, allocations: 35.88 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3378, allocations: 4 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3378, allocations: 4 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3378, allocations: 4 kB / 1.061 GB, free: 3.395 MB / 0.8106 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.0005354/0.3384, allocations: 375.5 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3384, allocations: 15.95 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.3385, allocations: 8.844 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3386, allocations: 180.3 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3386, allocations: 384 / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3387, allocations: 4.375 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.339, allocations: 86.2 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.339, allocations: 192 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.339, allocations: 7.938 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.339, allocations: 0 / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.3393, allocations: 103.9 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.3397, allocations: 280.9 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.34, allocations: 78.58 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.3401, allocations: 56.81 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.3404, allocations: 109.1 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.3404, allocations: 34.5 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.3404, allocations: 0 / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006196/0.3411, allocations: 173.7 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3411, allocations: 55.41 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3412, allocations: 132.7 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3413, allocations: 25.7 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.3413, allocations: 99.97 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3413, allocations: 7.906 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.3414, allocations: 9.719 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3415, allocations: 318.8 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3417, allocations: 51.95 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3418, allocations: 47.98 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.3422, allocations: 108.7 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3422, allocations: 7.938 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003737/0.3425, allocations: 133.5 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3426, allocations: 4 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3426, allocations: 7.922 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3426, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3428, allocations: 19.98 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3428, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.3429, allocations: 19.98 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3429, allocations: 4 kB / 1.063 GB, free: 0.6367 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 9.547e-05/0.343, allocations: 121.8 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.343, allocations: 3.938 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.3434, allocations: 137.5 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3434, allocations: 0 / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3435, allocations: 0 / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3435, allocations: 0 / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3437, allocations: 189.5 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3437, allocations: 0 / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3438, allocations: 27.97 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3438, allocations: 0 / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3438, allocations: 4 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3438, allocations: 0 / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3438, allocations: 4 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.3443, allocations: 235.6 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3443, allocations: 81.02 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3443, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3445, allocations: 15.98 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3445, allocations: 7.984 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3445, allocations: 0 / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.638e-05/0.3446, allocations: 99.27 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3446, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002336/0.3448, allocations: 16 kB / 1.064 GB, free: 15.61 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.000146/0.345, allocations: 95.25 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3454, allocations: 107.8 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3454, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3456, allocations: 51.97 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3458, allocations: 11.92 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.3462, allocations: 198.3 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3465, allocations: 0.6964 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.3465, allocations: 11.44 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3465, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.002511/0.349, allocations: 0.8836 MB / 1.066 GB, free: 13.5 MB / 0.8262 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches