Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.000982/0.000982, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.000962/0.000962, allocations: 181 kB / 23.36 MB, free: 1.133 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.9737/0.9737, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.554/2.554, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.595e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001181/0.001197, allocations: 0.6638 MB / 0.8392 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.002388, allocations: 1.24 MB / 0.8405 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.002434, allocations: 0 / 0.8405 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.00246, allocations: 3.938 kB / 0.8405 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.00253, allocations: 23.84 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.002996, allocations: 211.4 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.003164, allocations: 167.7 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.003232, allocations: 7.984 kB / 0.8409 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.003338, allocations: 91.88 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.003439, allocations: 47.91 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.003464, allocations: 16 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.529e-05/0.00353, allocations: 31.98 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.003559, allocations: 19.91 kB / 0.8411 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.003606, allocations: 43.97 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.003755, allocations: 135.6 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003756, allocations: 0 / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003757, allocations: 0 / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.00376, allocations: 0 / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003204/0.00408, allocations: 340.1 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.00411, allocations: 8.625 kB / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.004146, allocations: 12.92 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.887e-05/0.004225, allocations: 113.8 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.004237, allocations: 4.375 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.004259, allocations: 8.375 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.411e-05/0.004323, allocations: 50.17 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.004333, allocations: 192 / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.00434, allocations: 384 / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004346, allocations: 4.375 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.598e-05/0.004362, allocations: 15.91 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.004599, allocations: 176.2 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.004656, allocations: 30.5 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.004672, allocations: 16.92 kB / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.004677, allocations: 0 / 0.842 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.198e-05/0.004769, allocations: 83.38 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.00477, allocations: 0 / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001371/0.004907, allocations: 77.53 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.004945, allocations: 55.41 kB / 0.8422 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.005022, allocations: 126.6 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.005044, allocations: 29.7 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.005086, allocations: 92.12 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.005099, allocations: 11.91 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.00516, allocations: 53.66 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.00525, allocations: 314.8 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.005338, allocations: 99.38 kB / 0.8429 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.00543, allocations: 128 kB / 0.843 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.005539, allocations: 147.5 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005542, allocations: 0 / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002075/0.005749, allocations: 256.4 kB / 0.8434 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.005797, allocations: 71.39 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.005805, allocations: 3.938 kB / 0.8435 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.005819, allocations: 0 / 0.8435 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-05/0.005836, allocations: 7.984 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.005839, allocations: 0 / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.005981, allocations: 39.92 kB / 0.8435 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.006, allocations: 11.98 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.851e-05/0.006068, allocations: 133.8 kB / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.006078, allocations: 7.984 kB / 0.8436 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.006098, allocations: 12.38 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.0061, allocations: 0 / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006101, allocations: 0 / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006104, allocations: 0 / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.623e-05/0.006171, allocations: 81.88 kB / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.006171, allocations: 0 / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-06/0.006174, allocations: 0 / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006175, allocations: 0 / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-06/0.006179, allocations: 0 / 0.8437 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.00618, allocations: 8 kB / 0.8437 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.006182, allocations: 3.938 kB / 0.8437 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.627e-05/0.006248, allocations: 73.11 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.006257, allocations: 15.88 kB / 0.8438 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.006266, allocations: 7.938 kB / 0.8438 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.006276, allocations: 4 kB / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.006301, allocations: 7.922 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.006305, allocations: 4.062 kB / 0.8439 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.43e-05/0.006319, allocations: 20.84 kB / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006319, allocations: 0 / 0.8439 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001303/0.00645, allocations: 35.98 kB / 0.8439 GB, free: 8.477 MB / 0.8073 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 8.839e-05/0.006538, allocations: 76.42 kB / 0.844 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.006724, allocations: 259 kB / 0.8442 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.006727, allocations: 0 / 0.8442 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.006748, allocations: 24.83 kB / 0.8442 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.583e-05/0.006844, allocations: 19.92 kB / 0.8443 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002086/0.007052, allocations: 145.5 kB / 0.8444 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.007081, allocations: 55.36 kB / 0.8445 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.746e-05/0.007099, allocations: 7.984 kB / 0.8445 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.0072, allocations: 87.27 kB / 0.8446 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of SimCode: time 3.2e-07/0.0072, allocations: 0 / 0.8446 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of Templates: time 0.003537/0.01074, allocations: 2.227 MB / 0.8467 GB, free: 5.527 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.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.5439648339524865]