Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_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.001113/0.001113, allocations: 112.8 kB / 16.41 MB, free: 6.484 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.001081/0.001081, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.001551, allocations: 67.91 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.041, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003119/1.044, allocations: 1.482 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003635/1.045, allocations: 115.2 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/1.045, allocations: 1.156 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.259e-05/1.045, allocations: 4.734 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/1.045, allocations: 14.83 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/1.045, allocations: 29.31 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/1.045, allocations: 39.05 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/1.045, allocations: 10.97 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.303e-05/1.046, allocations: 17.31 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/1.046, allocations: 23.27 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/1.046, allocations: 4.281 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/1.046, allocations: 24.86 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/1.046, allocations: 18.05 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/1.046, allocations: 22.72 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/1.046, allocations: 57.09 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.046, allocations: 0.6094 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/1.046, allocations: 1.094 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.622e-06/1.046, allocations: 0 / 1.09 GB, free: 4.258 MB / 0.8575 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.0005262/1.047, allocations: 375 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.047, allocations: 9.344 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/1.047, allocations: 8.688 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/1.047, allocations: 177.9 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/1.047, allocations: 5.156 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.047, allocations: 6.156 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/1.047, allocations: 73.75 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.047, allocations: 4.125 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.047, allocations: 4.938 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.047, allocations: 0.7812 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/1.047, allocations: 76.41 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/1.048, allocations: 279.2 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/1.048, allocations: 72.66 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/1.048, allocations: 50.83 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/1.048, allocations: 106 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/1.049, allocations: 32.09 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/1.049, allocations: 0 / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000577/1.049, allocations: 151.1 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/1.049, allocations: 52.94 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/1.049, allocations: 129.1 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/1.049, allocations: 25.7 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/1.049, allocations: 93.56 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/1.049, allocations: 9.828 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/1.049, allocations: 20.8 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/1.049, allocations: 318.8 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.05, allocations: 39.19 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/1.05, allocations: 35.66 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/1.05, allocations: 79.88 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.05, allocations: 11.81 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003594/1.05, allocations: 104.8 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.05, allocations: 5.656 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.05, allocations: 0 / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.051, allocations: 5.844 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/1.051, allocations: 19.53 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.051, allocations: 0 / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/1.051, allocations: 15.91 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.051, allocations: 5.375 kB / 1.093 GB, free: 2.348 MB / 0.8575 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.106e-05/1.051, allocations: 119 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/1.051, allocations: 10.97 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/1.051, allocations: 119.5 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.051, allocations: 0.75 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.051, allocations: 0 / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.051, allocations: 1.375 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/1.052, allocations: 179.7 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.052, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/1.052, allocations: 15.59 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.052, allocations: 4.875 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.052, allocations: 1.516 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.052, allocations: 0 / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.052, allocations: 4.812 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/1.052, allocations: 208.7 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/1.052, allocations: 87 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/1.052, allocations: 5.578 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/1.052, allocations: 11.41 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/1.052, allocations: 8.328 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/1.052, allocations: 0.9688 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.389e-05/1.052, allocations: 100.6 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.052, allocations: 0 / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002318/1.053, allocations: 10.41 kB / 1.094 GB, free: 1.613 MB / 0.8575 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.0001604/1.053, allocations: 107.6 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003934/1.053, allocations: 80.41 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.053, allocations: 0 / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/1.053, allocations: 43.56 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/1.054, allocations: 15.22 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/1.054, allocations: 175.1 kB / 1.094 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/1.054, allocations: 0.6867 MB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/1.054, allocations: 13.31 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.054, allocations: 0 / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of Templates: time 0.003246/1.058, allocations: 0.9022 MB / 1.096 GB, free: 0.5547 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches