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.001143/0.001143, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001229/0.001229, allocations: 161 kB / 24.16 MB, free: 332 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 0.9716/0.9716, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 1.946/1.946, allocations: 377.9 MB / 0.624 GB, free: 8.328 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 1.323e-06/1.323e-06, allocations: 0 / 0.76 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.545e-05, allocations: 6.266 kB / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001219/0.001234, allocations: 0.6666 MB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002384, allocations: 1.247 MB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.002426, allocations: 0 / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002454, allocations: 5.375 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.509e-05/0.002529, allocations: 8.922 kB / 0.7619 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.003017, allocations: 212.6 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.003198, allocations: 177.8 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.003264, allocations: 4.625 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.003376, allocations: 101 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.003487, allocations: 56.86 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.003513, allocations: 16 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.003572, allocations: 20.53 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.003594, allocations: 15.92 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.003641, allocations: 48.7 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.003789, allocations: 143.6 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003791, allocations: 0.875 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003791, allocations: 0 / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.003794, allocations: 2.062 kB / 0.7627 GB, free: 3.902 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.0003212/0.004116, allocations: 324.2 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.004145, allocations: 12.03 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.004179, allocations: 12.92 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.004257, allocations: 117.7 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.004271, allocations: 10.38 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.004291, allocations: 8.375 kB / 0.7631 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.044e-05/0.004351, allocations: 46.23 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004357, allocations: 192 / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.004363, allocations: 384 / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004368, allocations: 384 / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.00439, allocations: 13.31 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.00463, allocations: 184.1 kB / 0.7634 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.004683, allocations: 30.56 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.164e-05/0.004695, allocations: 10.05 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.0047, allocations: 0 / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.893e-05/0.004779, allocations: 88.2 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.00478, allocations: 0 / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001276/0.004908, allocations: 70.64 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.004938, allocations: 51.41 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.005007, allocations: 126.7 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.005034, allocations: 30.39 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.005084, allocations: 92.09 kB / 0.7638 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.005101, allocations: 13.72 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.005185, allocations: 49.61 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.005306, allocations: 318.8 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.005388, allocations: 103.3 kB / 0.7643 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.005467, allocations: 131 kB / 0.7644 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.005562, allocations: 145.6 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.005564, allocations: 0 / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002388/0.005803, allocations: 258 kB / 0.7648 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.005839, allocations: 67.39 kB / 0.7649 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.005843, allocations: 4.688 kB / 0.7649 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.005859, allocations: 4 kB / 0.7649 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.321e-05/0.005872, allocations: 0.5 kB / 0.7649 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.005878, allocations: 11.92 kB / 0.7649 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.006016, allocations: 43.75 kB / 0.7649 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.006036, allocations: 15.98 kB / 0.765 GB, free: 1.305 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.952e-05/0.006105, allocations: 117.8 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.006115, allocations: 8 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.006141, allocations: 12.36 kB / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.006144, allocations: 0 / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.006146, allocations: 0 / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.006151, allocations: 2.531 kB / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.006226, allocations: 85.88 kB / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.006227, allocations: 0 / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-06/0.006231, allocations: 0 / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.006232, allocations: 0 / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.006237, allocations: 4 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006238, allocations: 0.9375 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.00624, allocations: 3.938 kB / 0.7652 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/0.006327, allocations: 85.03 kB / 0.7653 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.006336, allocations: 5.047 kB / 0.7653 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.006347, allocations: 11.98 kB / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.006358, allocations: 0 / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.006394, allocations: 12.86 kB / 0.7653 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.006398, allocations: 0 / 0.7653 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.551e-05/0.006413, allocations: 13.33 kB / 0.7653 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006413, allocations: 2.219 kB / 0.7653 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001382/0.006552, allocations: 35.98 kB / 0.7653 GB, free: 0.8672 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 8.758e-05/0.006639, allocations: 88.28 kB / 0.7654 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.006831, allocations: 262.1 kB / 0.7657 GB, free: 492 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.006834, allocations: 0 / 0.7657 GB, free: 492 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.006858, allocations: 28.77 kB / 0.7657 GB, free: 460 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.006967, allocations: 20.2 kB / 0.7657 GB, free: 440 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.007208, allocations: 154.5 kB / 0.7659 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.00725, allocations: 59.36 kB / 0.7659 GB, free: 176 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.886e-05/0.007279, allocations: 7.984 kB / 0.7659 GB, free: 168 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.007401, allocations: 76.36 kB / 0.766 GB, free: 92 kB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/0.007402, allocations: 0 / 0.766 GB, free: 92 kB / 0.7136 GB Notification: Performance of Templates: time 0.00344/0.01084, allocations: 2.248 MB / 0.7682 GB, free: 13.97 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 -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.077329630963504]