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.001222/0.001222, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001821/0.003043, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001347/0.001347, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.003169, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.048/1.048, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09028/1.139, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.854/1.854, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5748/2.429, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 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.713e-06/1.713e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.248e-05, allocations: 11.53 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001486/0.001509, allocations: 0.7954 MB / 0.7301 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002662, allocations: 1.191 MB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.002696, allocations: 0 / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.00272, allocations: 3.938 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.002768, allocations: 17.5 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.003074, allocations: 128.5 kB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.003232, allocations: 120 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.003304, allocations: 5.547 kB / 0.7315 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.00342, allocations: 82.44 kB / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.003491, allocations: 32.42 kB / 0.7317 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.003509, allocations: 8.938 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.689e-05/0.003576, allocations: 27.98 kB / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.003595, allocations: 7.938 kB / 0.7317 GB, free: 2.141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.003631, allocations: 24.88 kB / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003774, allocations: 75.73 kB / 0.7318 GB, free: 2.043 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.524e-05/0.003789, allocations: 5.438 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00379, allocations: 0 / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.003806, allocations: 0 / 0.7318 GB, free: 2.039 MB / 0.698 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.0004484/0.004254, allocations: 318.1 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.004283, allocations: 8.688 kB / 0.7321 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.004318, allocations: 13.61 kB / 0.7321 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.775e-05/0.004406, allocations: 113.7 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.00442, allocations: 8.875 kB / 0.7322 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.004433, allocations: 4.375 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.004536, allocations: 72.64 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004543, allocations: 192 / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004551, allocations: 8.359 kB / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004556, allocations: 384 / 0.7323 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.004582, allocations: 8.75 kB / 0.7323 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.004842, allocations: 176.2 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.004922, allocations: 35.72 kB / 0.7325 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.004942, allocations: 17.86 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.004949, allocations: 0 / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.702e-05/0.005046, allocations: 68.31 kB / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.005047, allocations: 0 / 0.7326 GB, free: 1.105 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001266/0.005173, allocations: 82.08 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.005205, allocations: 55.41 kB / 0.7327 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.005265, allocations: 124.2 kB / 0.7329 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.005282, allocations: 29.7 kB / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.005318, allocations: 92.12 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.005336, allocations: 15.89 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.005381, allocations: 34.91 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.005454, allocations: 322.8 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.655e-05/0.0055, allocations: 53.69 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.005555, allocations: 89.95 kB / 0.7335 GB, free: 148 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.373e-05/0.005639, allocations: 103.7 kB / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005641, allocations: 0.6562 kB / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001473/0.005788, allocations: 174.5 kB / 0.7337 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.00582, allocations: 33.7 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.005826, allocations: 7.875 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.005837, allocations: 8.672 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/0.0059, allocations: 11.94 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.005904, allocations: 5.781 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.005988, allocations: 35.86 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.005999, allocations: 4 kB / 0.7338 GB, free: 15.73 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.98e-05/0.006069, allocations: 119 kB / 0.734 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.006081, allocations: 7.984 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.006106, allocations: 18.44 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006108, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.00611, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006113, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.006301, allocations: 215.1 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006303, allocations: 0.75 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.00633, allocations: 12 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.006341, allocations: 12.69 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.006344, allocations: 4 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.006349, allocations: 0.6562 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006351, allocations: 3.938 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006352, allocations: 1.938 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.923e-05/0.006431, allocations: 151.6 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.006447, allocations: 7.938 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.006483, allocations: 4 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.006513, allocations: 7.984 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.006519, allocations: 5.266 kB / 0.7344 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.52e-05/0.006535, allocations: 16.84 kB / 0.7344 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006535, allocations: 0 / 0.7344 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001506/0.006685, allocations: 24 kB / 0.7344 GB, free: 15.08 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 0.0001152/0.006801, allocations: 95.16 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.006976, allocations: 154.9 kB / 0.7347 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.006983, allocations: 3.984 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.007014, allocations: 24.84 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.007162, allocations: 22.02 kB / 0.7347 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.007657, allocations: 160.9 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.007698, allocations: 62.09 kB / 0.7349 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.007725, allocations: 4 kB / 0.7349 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.007814, allocations: 79.33 kB / 0.735 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/0.007815, allocations: 0 / 0.735 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.003443/0.01126, allocations: 1.736 MB / 0.7367 GB, free: 12.77 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.ref.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.135675843805075]