Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009525/0.0009525, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009562/0.0009562, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9404/0.9404, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.357/2.357, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.924e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00141/0.001439, allocations: 0.7595 MB / 0.8905 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.0026, allocations: 1.174 MB / 0.8917 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.002644, allocations: 4 kB / 0.8917 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.002671, allocations: 3.938 kB / 0.8917 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.002745, allocations: 15.84 kB / 0.8917 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.003133, allocations: 131.5 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.003268, allocations: 115.8 kB / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.799e-05/0.003346, allocations: 15.97 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.003719, allocations: 63.95 kB / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.003797, allocations: 39.88 kB / 0.892 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.003819, allocations: 12 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.003877, allocations: 19.98 kB / 0.8921 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.003897, allocations: 11.92 kB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.003934, allocations: 31.97 kB / 0.8921 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.004064, allocations: 99.69 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004066, allocations: 0 / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004068, allocations: 4 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.004071, allocations: 0 / 0.8922 GB, free: 7.219 MB / 0.8542 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.0003862/0.004457, allocations: 434.1 kB / 0.8926 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.004493, allocations: 16.02 kB / 0.8926 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.004527, allocations: 12.89 kB / 0.8926 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.233e-05/0.004599, allocations: 120.5 kB / 0.8928 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.004612, allocations: 4.375 kB / 0.8928 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.004625, allocations: 8.375 kB / 0.8928 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.004725, allocations: 66.92 kB / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-06/0.004731, allocations: 192 / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.004737, allocations: 384 / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.004741, allocations: 384 / 0.8928 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.004766, allocations: 19.92 kB / 0.8929 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.005048, allocations: 296.2 kB / 0.8931 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/0.005128, allocations: 43.11 kB / 0.8932 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.005145, allocations: 11.69 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.005155, allocations: 4 kB / 0.8932 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.368e-05/0.005248, allocations: 77.16 kB / 0.8933 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.00525, allocations: 7.938 kB / 0.8933 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001742/0.005424, allocations: 93.55 kB / 0.8934 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.005451, allocations: 55.41 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.005524, allocations: 173.9 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.00554, allocations: 29.7 kB / 0.8936 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.005589, allocations: 138.9 kB / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.005608, allocations: 23.84 kB / 0.8938 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.005659, allocations: 43.34 kB / 0.8938 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.005777, allocations: 496.1 kB / 0.8943 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.005835, allocations: 57.67 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.005903, allocations: 108 kB / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.711e-05/0.00599, allocations: 116 kB / 0.8946 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.005993, allocations: 0 / 0.8946 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001868/0.006179, allocations: 200.9 kB / 0.8947 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.00621, allocations: 37.62 kB / 0.8948 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.006216, allocations: 4.312 kB / 0.8948 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.006225, allocations: 0 / 0.8948 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.006281, allocations: 12 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006284, allocations: 128 / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.006373, allocations: 31.91 kB / 0.8948 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.006388, allocations: 11.98 kB / 0.8948 GB, free: 4.234 MB / 0.8542 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.382e-05/0.006462, allocations: 168.5 kB / 0.895 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.006476, allocations: 11.95 kB / 0.895 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.006502, allocations: 12.38 kB / 0.895 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006504, allocations: 0 / 0.895 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.006507, allocations: 4 kB / 0.895 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.00651, allocations: 0 / 0.895 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.00672, allocations: 318 kB / 0.8953 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.006723, allocations: 0 / 0.8953 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.006748, allocations: 11.88 kB / 0.8953 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.006751, allocations: 3.938 kB / 0.8953 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.006757, allocations: 4 kB / 0.8953 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.006759, allocations: 4 kB / 0.8953 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00676, allocations: 0 / 0.8953 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.006867, allocations: 219.9 kB / 0.8956 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.006877, allocations: 15.89 kB / 0.8956 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.00689, allocations: 4.062 kB / 0.8956 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.006925, allocations: 11.98 kB / 0.8956 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.006952, allocations: 7.984 kB / 0.8956 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.006958, allocations: 4 kB / 0.8956 GB, free: 3.387 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.006996, allocations: 131.7 kB / 0.8957 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.006996, allocations: 3.938 kB / 0.8957 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001666/0.007163, allocations: 20 kB / 0.8957 GB, free: 3.234 MB / 0.8542 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.0001151/0.007278, allocations: 107.2 kB / 0.8959 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.007441, allocations: 152.9 kB / 0.896 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007443, allocations: 4.062 kB / 0.896 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.007473, allocations: 27.67 kB / 0.896 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.007666, allocations: 16.31 kB / 0.896 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.007928, allocations: 174.6 kB / 0.8962 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.007962, allocations: 59.34 kB / 0.8963 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.007988, allocations: 4 kB / 0.8963 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-05/0.008073, allocations: 98.17 kB / 0.8964 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.008074, allocations: 0 / 0.8964 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of Templates: time 0.00326/0.01133, allocations: 1.749 MB / 0.8981 GB, free: 0.8047 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.248154847882688]