Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001428/0.001428, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001654/0.001654, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.045/1.045, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.114e-05, allocations: 7.078 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001367/0.001388, allocations: 0.7551 MB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002581, allocations: 1.193 MB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.002625, allocations: 0.875 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.002653, allocations: 7.938 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.002728, allocations: 12.73 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.003131, allocations: 132.2 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003279, allocations: 117.1 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.00336, allocations: 17.72 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.003464, allocations: 66.56 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.003537, allocations: 43.86 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.003557, allocations: 12 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.003615, allocations: 16 kB / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.003636, allocations: 12.52 kB / 0.7624 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.003681, allocations: 35.97 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.003813, allocations: 92.69 kB / 0.7625 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.003819, allocations: 8 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003819, allocations: 0.5312 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003822, allocations: 0 / 0.7625 GB, free: 4.141 MB / 0.7136 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.0003671/0.004189, allocations: 303.5 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.00422, allocations: 8.031 kB / 0.7628 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.004263, allocations: 13.66 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.004349, allocations: 117.7 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.004361, allocations: 5.375 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004377, allocations: 4.375 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.00447, allocations: 66.92 kB / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004477, allocations: 1.438 kB / 0.763 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.004485, allocations: 4.312 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.004491, allocations: 4.375 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.004513, allocations: 12.95 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.004749, allocations: 172.3 kB / 0.7632 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.004826, allocations: 44.81 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.004843, allocations: 12.86 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-06/0.004851, allocations: 7.922 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.595e-05/0.004927, allocations: 67.44 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.004928, allocations: 1.219 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001291/0.005057, allocations: 73.67 kB / 0.7634 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.00509, allocations: 59.39 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.005154, allocations: 127.3 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.005173, allocations: 33.7 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.005209, allocations: 84.8 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.005229, allocations: 19.88 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.005276, allocations: 38.44 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.005351, allocations: 322.8 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.005399, allocations: 46.66 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.005457, allocations: 89.97 kB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.005537, allocations: 99.97 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005539, allocations: 0 / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001472/0.005687, allocations: 170.1 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.005717, allocations: 38.72 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.005723, allocations: 3.938 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.005739, allocations: 4 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.005797, allocations: 12.92 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.0058, allocations: 3.938 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.005879, allocations: 32.84 kB / 0.7645 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.005892, allocations: 10.8 kB / 0.7645 GB, free: 1.852 MB / 0.7136 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,edge1.y,edge1.u,$PRE.edge1.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 6.666e-05/0.005959, allocations: 121.8 kB / 0.7646 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.005968, allocations: 8 kB / 0.7646 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.005991, allocations: 16.36 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005993, allocations: 4 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.005994, allocations: 0 / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005998, allocations: 6.625 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.006181, allocations: 218.8 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006182, allocations: 0 / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.006204, allocations: 7.984 kB / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.006208, allocations: 3.938 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.006214, allocations: 4 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006215, allocations: 0 / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006215, allocations: 1.25 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.416e-05/0.0063, allocations: 151.5 kB / 0.765 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.006309, allocations: 11.95 kB / 0.765 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.006323, allocations: 7.922 kB / 0.7651 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.006356, allocations: 4.5 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.006385, allocations: 6.234 kB / 0.7651 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.00639, allocations: 4 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.54e-05/0.006406, allocations: 20.83 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006406, allocations: 4 kB / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001478/0.006554, allocations: 20 kB / 0.7651 GB, free: 1.195 MB / 0.7136 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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 9.669e-05/0.00665, allocations: 86.8 kB / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.006792, allocations: 149.9 kB / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.006794, allocations: 0 / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.006823, allocations: 24.78 kB / 0.7654 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.006959, allocations: 17.98 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.007203, allocations: 156.2 kB / 0.7655 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.007236, allocations: 61.91 kB / 0.7656 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.007256, allocations: 4 kB / 0.7656 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.007335, allocations: 79.33 kB / 0.7657 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.007335, allocations: 0 / 0.7657 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of Templates: time 0.003128/0.01046, allocations: 1.683 MB / 0.7673 GB, free: 14.97 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.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.102083974983543]