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.001187/0.001187, allocations: 91.58 kB / 20.45 MB, free: 4.117 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.0009972/0.0009972, allocations: 165 kB / 23.82 MB, free: 0.75 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.9782/0.9782, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.931/1.931, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 4.698e-06/4.698e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.881e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002179/0.002218, allocations: 0.6744 MB / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.004198, allocations: 1.241 MB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.004255, allocations: 0.7812 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.004293, allocations: 3.938 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.004387, allocations: 17.55 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.005106, allocations: 213 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.005362, allocations: 171.7 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.583e-05/0.005458, allocations: 3.984 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.005605, allocations: 99.81 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.005735, allocations: 61.2 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.005773, allocations: 16 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.00585, allocations: 23.94 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.005884, allocations: 17.72 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.00596, allocations: 43.97 kB / 0.8141 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.006191, allocations: 143.6 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.006195, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.72e-07/0.006196, allocations: 0 / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.006201, allocations: 0.9062 kB / 0.8142 GB, free: 15.03 MB / 0.7761 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.0005556/0.006757, allocations: 459.8 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.006803, allocations: 16.64 kB / 0.8146 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.282e-05/0.006886, allocations: 12.89 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.00699, allocations: 113.2 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.007011, allocations: 8.375 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.007042, allocations: 9.688 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.007152, allocations: 46.23 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.00716, allocations: 4.188 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.00717, allocations: 2.938 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.007179, allocations: 384 / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.596e-05/0.007215, allocations: 23.8 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.007683, allocations: 327.7 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.007772, allocations: 39.06 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.007807, allocations: 15.77 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.007814, allocations: 0.5312 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.007946, allocations: 89.58 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 2.083e-06/0.007949, allocations: 0 / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002452/0.008194, allocations: 94.42 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.008238, allocations: 61.02 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.008346, allocations: 181.8 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.008379, allocations: 33.7 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.008452, allocations: 134.9 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.008472, allocations: 19.89 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.008567, allocations: 51.94 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003398/0.008906, allocations: 0.489 MB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.009061, allocations: 111.4 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.009234, allocations: 158.5 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.009424, allocations: 162.8 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.009429, allocations: 0.8125 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004825/0.009911, allocations: 325.1 kB / 0.8171 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/0.009984, allocations: 68.61 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.009993, allocations: 0 / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.01002, allocations: 3.938 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.034e-05/0.01005, allocations: 4.844 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.01005, allocations: 0 / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.01033, allocations: 42.19 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.01036, allocations: 11.98 kB / 0.8172 GB, free: 11.64 MB / 0.7761 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 0.0001262/0.01049, allocations: 168.5 kB / 0.8173 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.01051, allocations: 18.78 kB / 0.8174 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.01055, allocations: 12.44 kB / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01055, allocations: 64 / 0.8174 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01056, allocations: 4 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01056, allocations: 3.938 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.0107, allocations: 132.6 kB / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01071, allocations: 0 / 0.8175 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.01072, allocations: 3.984 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01072, allocations: 1.469 kB / 0.8175 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01074, allocations: 7.938 kB / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01074, allocations: 0 / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01074, allocations: 0 / 0.8175 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.01093, allocations: 117 kB / 0.8176 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.01095, allocations: 11.94 kB / 0.8176 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.01097, allocations: 8.5 kB / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.772e-05/0.011, allocations: 0.5625 kB / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.01105, allocations: 7.984 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.01106, allocations: 5.844 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.01113, allocations: 135.1 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01113, allocations: 0 / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002937/0.01142, allocations: 32 kB / 0.8178 GB, free: 10.92 MB / 0.7761 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.0002511/0.01167, allocations: 104.5 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.0121, allocations: 274.9 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.0121, allocations: 0 / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.01216, allocations: 31.67 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.01249, allocations: 14.11 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.013, allocations: 170.6 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.01304, allocations: 59.22 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01307, allocations: 7.984 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.0131, allocations: 12.5 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of SimCode: time 1.704e-06/0.0131, allocations: 0 / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.003905/0.017, allocations: 2.265 MB / 0.8207 GB, free: 7.98 MB / 0.7761 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 -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.141321369912475]