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.002905/0.002905, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.003344/0.003344, allocations: 161.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.001/3.001, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.048e-05/4.355e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002332/0.002375, allocations: 0.7354 MB / 0.8115 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.005112, allocations: 1.175 MB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.005169, allocations: 1.094 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.005202, allocations: 3.938 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.005314, allocations: 16.39 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.005861, allocations: 132.8 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.0061, allocations: 117.7 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.006204, allocations: 11.98 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.006372, allocations: 67.88 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.006482, allocations: 39.88 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.006522, allocations: 12 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.538e-05/0.006597, allocations: 23.92 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.006623, allocations: 9.297 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.006705, allocations: 35.91 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.006969, allocations: 131.7 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.006973, allocations: 1.156 kB / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.813e-06/0.006975, allocations: 0 / 0.8133 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.00698, allocations: 0 / 0.8133 GB, free: 15.6 MB / 0.7761 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.0007642/0.007745, allocations: 443 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.007791, allocations: 8.031 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.00787, allocations: 16.89 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.008012, allocations: 116.5 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.008032, allocations: 5.906 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.008061, allocations: 4.375 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.008257, allocations: 62.17 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.008266, allocations: 1.531 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.008281, allocations: 4.359 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.008287, allocations: 4.375 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.008425, allocations: 36.44 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.009006, allocations: 313.6 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.009201, allocations: 67.03 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.009292, allocations: 27.8 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.009309, allocations: 6.125 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.009509, allocations: 88.97 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.009511, allocations: 4 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0004135/0.009924, allocations: 137.6 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.00998, allocations: 51.94 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.01017, allocations: 186.6 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.0102, allocations: 29.7 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01031, allocations: 139.4 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.01034, allocations: 23.83 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.01044, allocations: 48.92 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003232/0.01076, allocations: 0.4923 MB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.01095, allocations: 81.67 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.01118, allocations: 140.6 kB / 0.8157 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.01147, allocations: 153.7 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.01147, allocations: 1.062 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004914/0.01196, allocations: 249.8 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.01201, allocations: 39.12 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.01202, allocations: 4 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01204, allocations: 0 / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.902e-05/0.01213, allocations: 11.94 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.01214, allocations: 5.031 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.01231, allocations: 27.97 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.01233, allocations: 6.031 kB / 0.8162 GB, free: 12.34 MB / 0.7761 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 0.0001505/0.01248, allocations: 164.6 kB / 0.8163 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.01251, allocations: 23.81 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.01255, allocations: 8.438 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01255, allocations: 2.312 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01256, allocations: 0 / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01256, allocations: 0 / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/0.01309, allocations: 365.3 kB / 0.8167 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.01309, allocations: 4.062 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.01313, allocations: 8.438 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01314, allocations: 0.9688 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.01315, allocations: 8 kB / 0.8167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01315, allocations: 0 / 0.8167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01316, allocations: 1.656 kB / 0.8167 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.01349, allocations: 251.8 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.01351, allocations: 11.89 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01353, allocations: 0 / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.01361, allocations: 12.52 kB / 0.817 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.01366, allocations: 9.328 kB / 0.817 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01367, allocations: 0 / 0.817 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.984e-05/0.01377, allocations: 139.2 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01377, allocations: 3.938 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002693/0.01404, allocations: 24.62 kB / 0.8172 GB, free: 11.26 MB / 0.7761 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.00019/0.01423, allocations: 100.5 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.01467, allocations: 220 kB / 0.8175 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01467, allocations: 0 / 0.8175 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.01479, allocations: 40.12 kB / 0.8175 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.01509, allocations: 24.78 kB / 0.8175 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.01554, allocations: 182.9 kB / 0.8177 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.407e-05/0.01562, allocations: 69.66 kB / 0.8178 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.01565, allocations: 11.92 kB / 0.8178 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.01569, allocations: 12.5 kB / 0.8178 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01569, allocations: 0.9375 kB / 0.8178 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.005613/0.02131, allocations: 1.573 MB / 0.8193 GB, free: 9.012 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.19568826595787]