Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_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.001689/0.001689, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001881/0.001881, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 73.64 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3142, allocations: 159.2 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002968/0.3172, allocations: 1.549 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.3175, allocations: 107.7 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.3175, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.3176, allocations: 3.938 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.3177, allocations: 7.938 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.3179, allocations: 19.97 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.309e-05/0.318, allocations: 47.84 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3181, allocations: 12 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.3182, allocations: 19.92 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.3182, allocations: 23.84 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3182, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.3183, allocations: 19.98 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.3184, allocations: 15.92 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.3184, allocations: 19.88 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.3185, allocations: 43.92 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3185, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3185, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3186, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8419 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.000578/0.3191, allocations: 371.5 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3192, allocations: 8.031 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.3192, allocations: 16.83 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3194, allocations: 172.3 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3194, allocations: 384 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3194, allocations: 384 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3197, allocations: 82.2 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3197, allocations: 192 / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3197, allocations: 7.875 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3198, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.32, allocations: 71.92 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.3205, allocations: 281 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3207, allocations: 70.47 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.3209, allocations: 40.91 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.3211, allocations: 121 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3212, allocations: 30.56 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3212, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005621/0.3217, allocations: 153.4 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.3218, allocations: 51.41 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3219, allocations: 129.8 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.322, allocations: 25.7 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.322, allocations: 96.06 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3221, allocations: 11.81 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.3221, allocations: 13.72 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3223, allocations: 330.8 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3224, allocations: 31.97 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.3226, allocations: 39.89 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.3228, allocations: 80.78 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3229, allocations: 3.938 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003427/0.3232, allocations: 109.6 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3232, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3232, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3233, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3234, allocations: 15.98 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3234, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.3235, allocations: 11.98 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3235, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 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 0.0001024/0.3236, allocations: 127.9 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3236, allocations: 7.906 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.324, allocations: 117.5 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3241, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3241, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.3241, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.3243, allocations: 189.6 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3243, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.3244, allocations: 19.97 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3244, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3244, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3244, allocations: 4 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3244, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.3249, allocations: 215.2 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.3249, allocations: 81.02 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3249, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3251, allocations: 15.98 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3251, allocations: 3.984 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3251, allocations: 4 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.984e-05/0.3252, allocations: 99.27 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3252, allocations: 0 / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002301/0.3254, allocations: 8 kB / 1.069 GB, free: 9.605 MB / 0.8419 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.0001692/0.3256, allocations: 107.1 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.326, allocations: 92.27 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.326, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.3262, allocations: 35.97 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.3264, allocations: 18.36 kB / 1.069 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.3268, allocations: 195.1 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3272, allocations: 0.6884 MB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.3273, allocations: 11.44 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3273, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of Templates: time 0.002637/0.3299, allocations: 0.8841 MB / 1.071 GB, free: 7.527 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches