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.001854/0.001854, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002259/0.002259, allocations: 157.7 kB / 23.55 MB, free: 0.8711 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 1.622/1.622, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.036/3.036, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.783e-06/1.783e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.847e-05, allocations: 9.922 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001818/0.001846, allocations: 0.6551 MB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.003657, allocations: 1.219 MB / 0.8127 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.003699, allocations: 0 / 0.8127 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.003723, allocations: 5.016 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.003801, allocations: 7.875 kB / 0.8127 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.004423, allocations: 217 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.004706, allocations: 172.5 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.004786, allocations: 8.859 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.004954, allocations: 99.86 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.005093, allocations: 57.09 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.00515, allocations: 16 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.121e-05/0.005231, allocations: 27.92 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.005256, allocations: 8 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.842e-05/0.005344, allocations: 49.78 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.005628, allocations: 191.5 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005631, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005632, allocations: 0 / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.005636, allocations: 0 / 0.8135 GB, free: 15.39 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.0006549/0.006291, allocations: 460.7 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.006329, allocations: 12.03 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.006402, allocations: 16.88 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.006528, allocations: 117.5 kB / 0.8141 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.006549, allocations: 8.375 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.00658, allocations: 9.125 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.006698, allocations: 50.23 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006707, allocations: 1.406 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.006717, allocations: 384 / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.00672, allocations: 384 / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.006775, allocations: 23.94 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.007309, allocations: 336.7 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.007407, allocations: 43 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.007448, allocations: 24.73 kB / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.007459, allocations: 0 / 0.8145 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.007613, allocations: 90.78 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.007614, allocations: 0 / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002927/0.007907, allocations: 117.5 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.007956, allocations: 55.41 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.008127, allocations: 189.9 kB / 0.815 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.008167, allocations: 35.23 kB / 0.815 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.008268, allocations: 134.9 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.008293, allocations: 19.83 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.00841, allocations: 59.34 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002676/0.008678, allocations: 0.489 MB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.008892, allocations: 136.8 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.009154, allocations: 192.6 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.009405, allocations: 178.3 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009407, allocations: 0.7812 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005875/0.009994, allocations: 366 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.01006, allocations: 71.39 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01007, allocations: 0 / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.01008, allocations: 0.625 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.26e-05/0.0101, allocations: 7.984 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01011, allocations: 0.6875 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.01039, allocations: 37.66 kB / 0.8166 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.01043, allocations: 15.98 kB / 0.8166 GB, free: 11.83 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.0003539/0.01078, allocations: 169 kB / 0.8168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.01081, allocations: 11.89 kB / 0.8168 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.01084, allocations: 17.23 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01084, allocations: 0 / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.01085, allocations: 5 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01086, allocations: 0 / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.011, allocations: 134 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.011, allocations: 0 / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.01102, allocations: 7.938 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01102, allocations: 3.984 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.01103, allocations: 8.797 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01103, allocations: 0 / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01103, allocations: 2.031 kB / 0.817 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.01123, allocations: 132.3 kB / 0.8171 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.01124, allocations: 7.891 kB / 0.8171 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01126, allocations: 7.938 kB / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.01128, allocations: 4 kB / 0.8171 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.01133, allocations: 7.984 kB / 0.8171 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.01134, allocations: 4.688 kB / 0.8171 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.694e-05/0.01143, allocations: 135.2 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01143, allocations: 3.438 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002348/0.01166, allocations: 32 kB / 0.8173 GB, free: 11.09 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.0001629/0.01182, allocations: 99.23 kB / 0.8174 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004798/0.0123, allocations: 337.8 kB / 0.8177 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.0123, allocations: 4 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.453e-05/0.01237, allocations: 35.61 kB / 0.8178 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.0126, allocations: 18.36 kB / 0.8178 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01296, allocations: 167.8 kB / 0.8179 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.868e-05/0.01303, allocations: 67.34 kB / 0.818 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.01306, allocations: 5.125 kB / 0.818 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.01308, allocations: 16.48 kB / 0.818 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.01308, allocations: 1.344 kB / 0.818 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.005544/0.01863, allocations: 2.071 MB / 0.82 GB, free: 8.262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.15110859205015]