Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 77.78 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 159.3 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.787/2.787, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 67.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9995/1.002, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002288/1.004, allocations: 0.7316 MB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001515/1.006, allocations: 1.158 MB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/1.006, allocations: 6.625 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/1.006, allocations: 7.875 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/1.006, allocations: 11.3 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/1.006, allocations: 136.6 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000163/1.006, allocations: 116.5 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/1.007, allocations: 16.3 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.781e-05/1.007, allocations: 52.22 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/1.007, allocations: 42.25 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/1.007, allocations: 14.31 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-05/1.007, allocations: 14.41 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/1.007, allocations: 13.84 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/1.007, allocations: 45.17 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/1.007, allocations: 112.4 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.007, allocations: 0 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.883e-06/1.007, allocations: 4 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.922e-06/1.007, allocations: 0 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005381/1.008, allocations: 329.8 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.008, allocations: 9.219 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/1.008, allocations: 14.12 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/1.008, allocations: 117.4 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.008, allocations: 6.125 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/1.008, allocations: 6.344 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.008, allocations: 69.67 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.008, allocations: 7.609 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/1.008, allocations: 7.922 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/1.008, allocations: 3 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/1.008, allocations: 39.22 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/1.009, allocations: 253.9 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/1.009, allocations: 57.02 kB / 1.157 GB, free: 30.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/1.009, allocations: 40.09 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/1.009, allocations: 0 / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/1.009, allocations: 95.34 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/1.009, allocations: 0 / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0004194/1.01, allocations: 138.3 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/1.01, allocations: 54.47 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/1.01, allocations: 127.1 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/1.01, allocations: 32.48 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/1.01, allocations: 90.48 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/1.01, allocations: 18.66 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/1.01, allocations: 45.98 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/1.01, allocations: 310.8 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/1.01, allocations: 90.53 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/1.01, allocations: 112.1 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/1.01, allocations: 146 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.01, allocations: 0 / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004433/1.011, allocations: 245.2 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/1.011, allocations: 44.92 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.011, allocations: 2.562 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.011, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/1.011, allocations: 15.36 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.011, allocations: 2.656 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/1.011, allocations: 37.83 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/1.011, allocations: 6.062 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.635e-05/1.011, allocations: 130.3 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/1.011, allocations: 6.828 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/1.011, allocations: 8.438 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.011, allocations: 2.875 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.011, allocations: 0 / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.011, allocations: 0 / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/1.012, allocations: 328.3 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.012, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/1.012, allocations: 8.844 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/1.012, allocations: 6.781 kB / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.012, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/1.012, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.012, allocations: 0 / 1.159 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/1.012, allocations: 216 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/1.012, allocations: 6.641 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/1.012, allocations: 0 / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/1.012, allocations: 9.062 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/1.012, allocations: 18.22 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/1.012, allocations: 6.906 kB / 1.16 GB, free: 29.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.11e-05/1.012, allocations: 91.19 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002526/1.013, allocations: 20.03 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001223/1.013, allocations: 104.3 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003395/1.013, allocations: 191.8 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.013, allocations: 8.062 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/1.013, allocations: 39.08 kB / 1.16 GB, free: 28.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.013, allocations: 19 kB / 1.16 GB, free: 28.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/1.014, allocations: 166.5 kB / 1.16 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/1.014, allocations: 71.67 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.989e-05/1.014, allocations: 9.594 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/1.014, allocations: 11.41 kB / 1.16 GB, free: 28.6 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.014, allocations: 0 / 1.16 GB, free: 28.6 MB / 1.076 GB Notification: Performance of Templates: time 0.004042/1.018, allocations: 1.575 MB / 1.162 GB, free: 28.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.133397063007578]