Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009798/0.0009798, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00101/0.00101, allocations: 177 kB / 23.36 MB, free: 1.129 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.537/2.537, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.809e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001328/0.001346, allocations: 0.7001 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002536, allocations: 1.248 MB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.002577, allocations: 4 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.002603, allocations: 3.938 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.002675, allocations: 11.88 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.003109, allocations: 203.5 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.00328, allocations: 179.7 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.762e-05/0.003347, allocations: 7.938 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.003457, allocations: 99.86 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.921e-05/0.003556, allocations: 59.89 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.003584, allocations: 12 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.807e-05/0.003653, allocations: 24 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.003672, allocations: 15.92 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.003719, allocations: 47.95 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.003872, allocations: 143.6 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003874, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003874, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.003877, allocations: 0 / 0.8413 GB, free: 11.41 MB / 0.8073 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.0003262/0.004204, allocations: 328.1 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.004237, allocations: 20.61 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.004273, allocations: 12.92 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.43e-05/0.004357, allocations: 109.8 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004371, allocations: 8.375 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.004388, allocations: 8.375 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.135e-05/0.004449, allocations: 46.23 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004457, allocations: 4.188 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.004463, allocations: 384 / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004468, allocations: 4.312 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.004485, allocations: 11.94 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.004721, allocations: 180.2 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.004769, allocations: 34.56 kB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.004782, allocations: 8.859 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-06/0.004786, allocations: 0 / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/0.004869, allocations: 83.44 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.00487, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001159/0.004986, allocations: 73.59 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.005012, allocations: 55.34 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.005075, allocations: 130.6 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.005093, allocations: 29.7 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.005128, allocations: 96.08 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.00514, allocations: 15.89 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.005194, allocations: 45.67 kB / 0.8426 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.005269, allocations: 318.8 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.005338, allocations: 99.38 kB / 0.843 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.005414, allocations: 127.7 kB / 0.8431 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.134e-05/0.005505, allocations: 144 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005507, allocations: 4 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001772/0.005684, allocations: 256.3 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.005719, allocations: 67.39 kB / 0.8435 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.005725, allocations: 3.938 kB / 0.8435 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.005738, allocations: 4 kB / 0.8435 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.005754, allocations: 3.938 kB / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.005758, allocations: 7.984 kB / 0.8436 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.005893, allocations: 40.05 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.005912, allocations: 15.98 kB / 0.8436 GB, free: 8.785 MB / 0.8073 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 5.881e-05/0.00597, allocations: 117.8 kB / 0.8437 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.005981, allocations: 11.98 kB / 0.8437 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.005998, allocations: 8.375 kB / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.005999, allocations: 0 / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.006, allocations: 0 / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006003, allocations: 4 kB / 0.8437 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.586e-05/0.006059, allocations: 77.88 kB / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006059, allocations: 3.938 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.006065, allocations: 8 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.006066, allocations: 0 / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-06/0.00607, allocations: 0 / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006071, allocations: 4.062 kB / 0.8438 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.006074, allocations: 3.938 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.018e-05/0.006134, allocations: 81.09 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.006143, allocations: 15.92 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006153, allocations: 4 kB / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.006163, allocations: 0 / 0.8439 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.006199, allocations: 11.92 kB / 0.8439 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006203, allocations: 0 / 0.8439 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.573e-05/0.006219, allocations: 24.78 kB / 0.844 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006219, allocations: 3.938 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001297/0.006349, allocations: 32 kB / 0.844 GB, free: 8.336 MB / 0.8073 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.0001013/0.00645, allocations: 84.34 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.006653, allocations: 259 kB / 0.8443 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.006656, allocations: 0 / 0.8443 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.00668, allocations: 20.84 kB / 0.8444 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.006802, allocations: 20.23 kB / 0.8444 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.007036, allocations: 149.2 kB / 0.8445 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.007067, allocations: 59.36 kB / 0.8446 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.007087, allocations: 7.984 kB / 0.8446 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.007195, allocations: 79.28 kB / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of SimCode: time 2.81e-07/0.007195, allocations: 0 / 0.8447 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of Templates: time 0.003291/0.01049, allocations: 2.245 MB / 0.8468 GB, free: 5.367 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.400126344058663]