Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002544/0.002544, allocations: 108 kB / 15.61 MB, free: 152 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.002456/0.002457, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.504/1.504, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.608/2.608, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9287/0.9303, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.002652/0.933, allocations: 0.6708 MB / 0.9502 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.9343, allocations: 0.8359 MB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.9344, allocations: 0 / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.338e-05/0.9345, allocations: 1 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.9346, allocations: 7.922 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.9348, allocations: 16.08 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.9349, allocations: 30.3 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.9351, allocations: 14.52 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.9352, allocations: 17.06 kB / 0.9511 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.9352, allocations: 16.92 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.9353, allocations: 6.578 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.9353, allocations: 3.781 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.9353, allocations: 11.92 kB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.9354, allocations: 11.19 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.9355, allocations: 32.64 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.9355, allocations: 5.016 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9355, allocations: 0 / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.9355, allocations: 0 / 0.9512 GB, free: 7.918 MB / 0.7169 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.0006276/0.9362, allocations: 360.7 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.9362, allocations: 9.625 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.9363, allocations: 6.125 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.9364, allocations: 166.8 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.9364, allocations: 1.531 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.9364, allocations: 1.594 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.9367, allocations: 65.55 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9367, allocations: 192 / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9368, allocations: 11.94 kB / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.9368, allocations: 0 / 0.9518 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.937, allocations: 55.16 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.9375, allocations: 266.7 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.9377, allocations: 66.16 kB / 0.9522 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.9379, allocations: 29.14 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.9379, allocations: 1.656 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.9379, allocations: 38.5 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.9379, allocations: 4 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005187/0.9385, allocations: 115.5 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.9385, allocations: 51.41 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.9386, allocations: 102.2 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.9386, allocations: 29.83 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.9386, allocations: 89.72 kB / 0.9526 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.9387, allocations: 5.062 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.9387, allocations: 12.66 kB / 0.9527 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.9388, allocations: 316.3 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.9389, allocations: 32.02 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.9391, allocations: 51.2 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.9393, allocations: 55.92 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9393, allocations: 0 / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002784/0.9396, allocations: 98.2 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.9396, allocations: 6.594 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.9396, allocations: 3.938 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.9397, allocations: 1.062 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.9398, allocations: 12.83 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.9398, allocations: 0 / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.9399, allocations: 19.47 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.9399, allocations: 1.406 kB / 0.9532 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001048/0.94, allocations: 98.16 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.329e-05/0.9401, allocations: 32.77 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001468/0.9403, allocations: 39.31 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.9403, allocations: 4.094 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001923/0.9405, allocations: 65.83 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.9405, allocations: 4.531 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.9405, allocations: 3.984 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/0.9405, allocations: 1.594 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.9406, allocations: 5.5 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.9406, allocations: 0 / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/0.9407, allocations: 19.23 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.9407, allocations: 0 / 0.9535 GB, free: 5.766 MB / 0.7169 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 7.84e-05/0.9408, allocations: 189.7 kB / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.9408, allocations: 9.797 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.9408, allocations: 4.5 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9408, allocations: 1 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9409, allocations: 0 / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.9409, allocations: 1.031 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.941, allocations: 163.9 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.941, allocations: 4 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.9411, allocations: 20.75 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9411, allocations: 0 / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.9411, allocations: 1.375 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.9412, allocations: 0 / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9412, allocations: 0 / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.9415, allocations: 186.9 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.9415, allocations: 78.48 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.9416, allocations: 1.156 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.9417, allocations: 13.55 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.9417, allocations: 5.188 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.9417, allocations: 5.172 kB / 0.9541 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.9418, allocations: 84.69 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9418, allocations: 4.031 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002825/0.9421, allocations: 10.38 kB / 0.9542 GB, free: 4.98 MB / 0.7169 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.0001707/0.9423, allocations: 98.12 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.9427, allocations: 77.22 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9428, allocations: 9.438 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.9429, allocations: 32.62 kB / 0.9544 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.9433, allocations: 7.828 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.9439, allocations: 130.3 kB / 0.9546 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.9441, allocations: 0.6861 MB / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.9441, allocations: 2.406 kB / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.9442, allocations: 8.719 kB / 0.9553 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/0.9442, allocations: 0 / 0.9553 GB, free: 4 MB / 0.7169 GB Notification: Performance of Templates: time 0.003628/0.9478, allocations: 0.5927 MB / 0.9558 GB, free: 3.699 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches