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.00104/0.00104, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001341/0.001341, allocations: 160.7 kB / 24.86 MB, free: 9.289 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.9915/0.9915, allocations: 177.1 MB / 205.3 MB, free: 5.504 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 2.022/2.022, allocations: 377.9 MB / 0.6247 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.474e-06/2.474e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.836e-05, allocations: 7.562 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001585/0.001613, allocations: 0.6563 MB / 0.8134 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.002803, allocations: 1.229 MB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.002851, allocations: 1.062 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.002878, allocations: 3.938 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.002954, allocations: 19.84 kB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.003414, allocations: 217.1 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.003591, allocations: 173.7 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.003668, allocations: 3.984 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.00378, allocations: 95.92 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.003892, allocations: 55.84 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.003921, allocations: 16 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.003983, allocations: 25.33 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.004005, allocations: 11.98 kB / 0.8152 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.004056, allocations: 51.89 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004218, allocations: 141.2 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.00422, allocations: 0 / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.004222, allocations: 0 / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004226, allocations: 0 / 0.8154 GB, free: 14.76 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.0003969/0.004623, allocations: 467.8 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.004655, allocations: 8.562 kB / 0.8159 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.004701, allocations: 13.42 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.127e-05/0.004782, allocations: 117.2 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.004797, allocations: 8.375 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.004817, allocations: 16.88 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.864e-05/0.004886, allocations: 46.19 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.004893, allocations: 1.688 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004902, allocations: 8.375 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004907, allocations: 384 / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.004923, allocations: 11.92 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.005219, allocations: 304.8 kB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.005278, allocations: 44.31 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.005295, allocations: 15.77 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.0053, allocations: 0 / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.47e-05/0.005394, allocations: 78.17 kB / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.005396, allocations: 0 / 0.8165 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001655/0.005561, allocations: 102.9 kB / 0.8166 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.005594, allocations: 59.39 kB / 0.8167 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.00567, allocations: 169.9 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.005691, allocations: 33.7 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.005749, allocations: 140.3 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.005763, allocations: 19.88 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.005826, allocations: 51.34 kB / 0.8171 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.005933, allocations: 0.4884 MB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.006044, allocations: 104.8 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.006143, allocations: 149.8 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.006254, allocations: 158.8 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.006256, allocations: 5.906 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000269/0.006525, allocations: 300.2 kB / 0.8182 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.00657, allocations: 71.33 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.006576, allocations: 4 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.006586, allocations: 2.375 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.006607, allocations: 7.984 kB / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.00661, allocations: 320 / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.006767, allocations: 31.97 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.00679, allocations: 20.52 kB / 0.8183 GB, free: 11.44 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 7.815e-05/0.006868, allocations: 170.4 kB / 0.8185 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.006884, allocations: 11.95 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.006908, allocations: 12.36 kB / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.00691, allocations: 0 / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.006914, allocations: 6.062 kB / 0.8185 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006917, allocations: 0 / 0.8185 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.811e-05/0.006995, allocations: 109.2 kB / 0.8186 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006997, allocations: 0 / 0.8186 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-06/0.007002, allocations: 0 / 0.8186 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.007005, allocations: 64 / 0.8186 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.007012, allocations: 12.91 kB / 0.8187 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007013, allocations: 0 / 0.8187 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.007016, allocations: 7.922 kB / 0.8187 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.007121, allocations: 117.1 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-06/0.007129, allocations: 7.938 kB / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.007139, allocations: 9.125 kB / 0.8188 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.007152, allocations: 0 / 0.8188 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.007181, allocations: 11.92 kB / 0.8188 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007186, allocations: 0.8438 kB / 0.8188 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.007225, allocations: 131.2 kB / 0.8189 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.007225, allocations: 3.25 kB / 0.8189 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001589/0.007384, allocations: 32 kB / 0.819 GB, free: 10.76 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.0001112/0.007495, allocations: 95.25 kB / 0.8191 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.007716, allocations: 269.8 kB / 0.8193 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.007717, allocations: 0 / 0.8193 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.007743, allocations: 35.55 kB / 0.8193 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.007912, allocations: 19.11 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.008148, allocations: 157.6 kB / 0.8195 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.008178, allocations: 65.84 kB / 0.8196 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.0082, allocations: 4.938 kB / 0.8196 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.008301, allocations: 106.2 kB / 0.8197 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of SimCode: time 3.5e-07/0.008302, allocations: 1.125 kB / 0.8197 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of Templates: time 0.003852/0.01215, allocations: 2.307 MB / 0.8219 GB, free: 7.699 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.415700221899897]