Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.001231/0.001231, allocations: 80.8 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.001152/0.001152, allocations: 165 kB / 24.16 MB, free: 336 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.023/1.023, allocations: 177.1 MB / 204.6 MB, free: 5.473 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 2.009/2.009, allocations: 377.9 MB / 0.624 GB, free: 8.395 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.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.057e-05/4.39e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002796/0.00284, allocations: 0.7157 MB / 0.7608 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.004809, allocations: 1.245 MB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.004854, allocations: 0 / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.00489, allocations: 4.625 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.00498, allocations: 17.31 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.005529, allocations: 213 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.005755, allocations: 168.2 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.00584, allocations: 17.22 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.00598, allocations: 91.94 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.0061, allocations: 51.84 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.006133, allocations: 16 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.006221, allocations: 32.91 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.00624, allocations: 8 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.006306, allocations: 56.91 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.00649, allocations: 127.7 kB / 0.7628 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.006494, allocations: 0 / 0.7628 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006495, allocations: 0.6875 kB / 0.7628 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006499, allocations: 0 / 0.7628 GB, free: 3.855 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004012/0.0069, allocations: 337.9 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.006936, allocations: 8.031 kB / 0.7631 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.006985, allocations: 16.86 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.565e-05/0.007071, allocations: 113.7 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.007083, allocations: 8.312 kB / 0.7632 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.007105, allocations: 13.34 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.108e-05/0.007176, allocations: 42.23 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.007184, allocations: 0.9375 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.007191, allocations: 384 / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.007197, allocations: 5.125 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.007219, allocations: 11.92 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.007506, allocations: 188.8 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.048e-05/0.007567, allocations: 24.77 kB / 0.7635 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.007583, allocations: 8.859 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.483e-06/0.00759, allocations: 0 / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/0.007704, allocations: 83.33 kB / 0.7636 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.007705, allocations: 0 / 0.7636 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001492/0.007854, allocations: 78.94 kB / 0.7637 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.007889, allocations: 55.41 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.007965, allocations: 118.7 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.007991, allocations: 33.7 kB / 0.7639 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.008038, allocations: 96.75 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.008052, allocations: 7.953 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.008127, allocations: 44.14 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.008215, allocations: 326.8 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.008306, allocations: 91.38 kB / 0.7644 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.008413, allocations: 131.6 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.00854, allocations: 142.3 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.008542, allocations: 0 / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002694/0.008811, allocations: 260.3 kB / 0.7649 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.008854, allocations: 67.39 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.00886, allocations: 5.188 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.008873, allocations: 8 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-05/0.008892, allocations: 4 kB / 0.765 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.008894, allocations: 4.875 kB / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.009041, allocations: 40.86 kB / 0.765 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.009061, allocations: 15.97 kB / 0.765 GB, free: 1.254 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.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.678e-05/0.009128, allocations: 123.1 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.009138, allocations: 7.984 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.009163, allocations: 12.38 kB / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009165, allocations: 9.469 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.009166, allocations: 0 / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.009169, allocations: 0 / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.653e-05/0.009235, allocations: 73.88 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.009237, allocations: 4.656 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-06/0.009243, allocations: 0 / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.009247, allocations: 4.641 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.009251, allocations: 0.5 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.009252, allocations: 0 / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009254, allocations: 15.31 kB / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.739e-05/0.009331, allocations: 77.42 kB / 0.7654 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.009339, allocations: 7.953 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.009347, allocations: 0 / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.009361, allocations: 4 kB / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.00939, allocations: 11.92 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.009394, allocations: 4 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.507e-05/0.009409, allocations: 17.3 kB / 0.7654 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00941, allocations: 0 / 0.7654 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00013/0.00954, allocations: 34.62 kB / 0.7654 GB, free: 0.8125 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.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 0.0001169/0.009656, allocations: 88.34 kB / 0.7655 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.009838, allocations: 262.4 kB / 0.7658 GB, free: 436 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.009841, allocations: 4 kB / 0.7658 GB, free: 432 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.009861, allocations: 17.55 kB / 0.7658 GB, free: 412 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.009978, allocations: 25.23 kB / 0.7658 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.0102, allocations: 150.6 kB / 0.766 GB, free: 208 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.01022, allocations: 59.34 kB / 0.766 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.01024, allocations: 4 kB / 0.766 GB, free: 124 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.01035, allocations: 91.89 kB / 0.7661 GB, free: 32 kB / 0.7136 GB Notification: Performance of SimCode: time 1.262e-06/0.01035, allocations: 0.625 kB / 0.7661 GB, free: 32 kB / 0.7136 GB Notification: Performance of Templates: time 0.003742/0.01409, allocations: 2.24 MB / 0.7683 GB, free: 13.92 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.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.269784788135439]