Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 104 kB / 16.41 MB, free: 6.504 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.00122/0.001221, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.38/1.38, 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 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.89 kB / 1.055 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8215, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.00203/0.8235, allocations: 0.6826 MB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.8246, allocations: 0.8351 MB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.8246, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.8247, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.386e-05/0.8248, allocations: 11.92 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.825, allocations: 15.92 kB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.913e-05/0.825, allocations: 31.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.8252, allocations: 11.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.8252, allocations: 12 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.8253, allocations: 19.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.8253, allocations: 3.984 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.8253, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.8254, allocations: 7.984 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.8254, allocations: 15.94 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.173e-05/0.8255, allocations: 35.89 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8255, allocations: 3.984 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8255, allocations: 0 / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8255, allocations: 0 / 1.21 GB, free: 11.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000503/0.826, allocations: 351.2 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8261, allocations: 8.031 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.8261, allocations: 0.9375 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.8262, allocations: 172.3 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.8263, allocations: 384 / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.8263, allocations: 4.375 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.8265, allocations: 66.14 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8265, allocations: 4.172 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.8266, allocations: 3.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.8266, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.8268, allocations: 59.94 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.8274, allocations: 268.9 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.8276, allocations: 66.41 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.8278, allocations: 40.83 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.8278, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.8279, allocations: 34.56 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.8279, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005253/0.8284, allocations: 113.6 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.8285, allocations: 55.41 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.8286, allocations: 97.86 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.8286, allocations: 33.64 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.8287, allocations: 88.12 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.8287, allocations: 3.906 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.8287, allocations: 13.84 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8289, allocations: 318.8 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.829, allocations: 36.81 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.8291, allocations: 41.69 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.8294, allocations: 56.89 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8294, allocations: 0 / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002953/0.8297, allocations: 93.48 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.8297, allocations: 9.719 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8297, allocations: 7.969 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.8298, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.8299, allocations: 11.98 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.8299, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.83, allocations: 17.8 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.83, allocations: 0 / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001305/0.8302, allocations: 100.1 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.18e-05/0.8303, allocations: 33.7 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001493/0.8304, allocations: 37.06 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.8304, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002003/0.8307, allocations: 69.55 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8307, allocations: 16.11 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/0.8307, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.8307, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.8308, allocations: 8 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8308, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.8308, allocations: 15.92 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.8309, allocations: 0 / 1.212 GB, free: 9.324 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 (2): * Single equations (assignments): 2 * 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.0001627/0.831, allocations: 192.2 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.8311, allocations: 4 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.8311, allocations: 3.531 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8311, allocations: 0 / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8311, allocations: 4 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8311, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.8314, allocations: 165.5 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8314, allocations: 0 / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.8315, allocations: 11.98 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8315, allocations: 4 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8315, allocations: 4 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8315, allocations: 4 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8315, allocations: 0 / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.8319, allocations: 191.3 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.832, allocations: 77.11 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.832, allocations: 0 / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.8321, allocations: 16.02 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.8322, allocations: 0 / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.8322, allocations: 3.984 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.389e-05/0.8323, allocations: 87.28 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8323, allocations: 0 / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002771/0.8325, allocations: 4 kB / 1.213 GB, free: 8.469 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 (2): * Single equations (assignments): 2 * 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.0002089/0.8328, allocations: 99.25 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004282/0.8332, allocations: 83.84 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8332, allocations: 0 / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.8333, allocations: 31.97 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.8336, allocations: 4.125 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.8342, allocations: 179 kB / 1.213 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.8346, allocations: 0.6768 MB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.8346, allocations: 7.438 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of SimCode: time 7.92e-07/0.8347, allocations: 4 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of Templates: time 0.003145/0.8378, allocations: 0.635 MB / 1.215 GB, free: 6.695 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches