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.000902/0.000902, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009921/0.0009921, allocations: 173 kB / 23.02 MB, free: 1.543 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.04/2.04, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.934e-06/1.934e-06, allocations: 0 / 0.8782 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.092e-05, allocations: 7.375 kB / 0.8782 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001192/0.001213, allocations: 0.664 MB / 0.8788 GB, free: 4.508 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002319, allocations: 1.247 MB / 0.8801 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.002356, allocations: 0 / 0.8801 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.002383, allocations: 4.594 kB / 0.8801 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.002454, allocations: 21.23 kB / 0.8801 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.002901, allocations: 209.6 kB / 0.8803 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.003073, allocations: 181.3 kB / 0.8805 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.003156, allocations: 9.109 kB / 0.8805 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.003259, allocations: 95.86 kB / 0.8806 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.733e-05/0.003356, allocations: 47.92 kB / 0.8806 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.003385, allocations: 17.25 kB / 0.8806 GB, free: 2.691 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.898e-05/0.003444, allocations: 27.97 kB / 0.8806 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.003464, allocations: 11.94 kB / 0.8807 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.003525, allocations: 55.94 kB / 0.8807 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.003727, allocations: 133.1 kB / 0.8808 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.155e-06/0.003729, allocations: 0 / 0.8808 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00373, allocations: 0 / 0.8808 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003734, allocations: 0 / 0.8808 GB, free: 2.469 MB / 0.7917 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.0004173/0.004151, allocations: 470.9 kB / 0.8813 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004189, allocations: 8.031 kB / 0.8813 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.004243, allocations: 8.938 kB / 0.8813 GB, free: 1.945 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.183e-05/0.004324, allocations: 124.5 kB / 0.8814 GB, free: 1.797 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.00434, allocations: 12.38 kB / 0.8814 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.004361, allocations: 8.375 kB / 0.8814 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.889e-05/0.004449, allocations: 50.17 kB / 0.8815 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.004457, allocations: 192 / 0.8815 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.004466, allocations: 1.031 kB / 0.8815 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.004473, allocations: 384 / 0.8815 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.004498, allocations: 13.59 kB / 0.8815 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.004862, allocations: 327.7 kB / 0.8818 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.183e-05/0.004934, allocations: 43.03 kB / 0.8819 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.004954, allocations: 16.12 kB / 0.8819 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-06/0.004961, allocations: 4.094 kB / 0.8819 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.08e-05/0.005052, allocations: 90.25 kB / 0.882 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.005053, allocations: 0 / 0.882 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0001903/0.005243, allocations: 101.5 kB / 0.8821 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.005277, allocations: 57 kB / 0.8821 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.005357, allocations: 174.2 kB / 0.8823 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.005379, allocations: 33.7 kB / 0.8823 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.005431, allocations: 134.9 kB / 0.8824 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.005445, allocations: 19.84 kB / 0.8825 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.005514, allocations: 55.34 kB / 0.8825 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005618, allocations: 0.4884 MB / 0.883 GB, free: 60 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.005731, allocations: 115.4 kB / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.005842, allocations: 160.3 kB / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.005958, allocations: 165.9 kB / 0.8834 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.00596, allocations: 0 / 0.8834 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002808/0.006241, allocations: 328.1 kB / 0.8837 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.00628, allocations: 67.39 kB / 0.8838 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.006285, allocations: 0 / 0.8838 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.006298, allocations: 4 kB / 0.8838 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-05/0.006315, allocations: 0 / 0.8838 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.006322, allocations: 7.984 kB / 0.8838 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.006486, allocations: 39.92 kB / 0.8838 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.006508, allocations: 20.11 kB / 0.8839 GB, free: 15.05 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 7.774e-05/0.006585, allocations: 168.5 kB / 0.884 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.006596, allocations: 7.938 kB / 0.884 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.006619, allocations: 12.42 kB / 0.884 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.00662, allocations: 0 / 0.884 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.006624, allocations: 0 / 0.884 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006627, allocations: 4 kB / 0.884 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.502e-05/0.006702, allocations: 128.6 kB / 0.8842 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.006703, allocations: 0 / 0.8842 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-06/0.006707, allocations: 0 / 0.8842 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.006708, allocations: 11.94 kB / 0.8842 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.006717, allocations: 3.938 kB / 0.8842 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.006719, allocations: 3.984 kB / 0.8842 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00672, allocations: 0 / 0.8842 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006823, allocations: 116.4 kB / 0.8843 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.006833, allocations: 11.89 kB / 0.8843 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.006844, allocations: 3.938 kB / 0.8843 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.006855, allocations: 4 kB / 0.8843 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.006892, allocations: 3.984 kB / 0.8843 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.006897, allocations: 4 kB / 0.8843 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.006935, allocations: 135.2 kB / 0.8844 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006935, allocations: 4 kB / 0.8844 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001574/0.007093, allocations: 35.94 kB / 0.8845 GB, free: 14.34 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.0001095/0.007202, allocations: 99.23 kB / 0.8846 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.007459, allocations: 281.8 kB / 0.8848 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007461, allocations: 0 / 0.8848 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.307e-05/0.007494, allocations: 28.02 kB / 0.8849 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.007659, allocations: 24.56 kB / 0.8849 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.007922, allocations: 154.9 kB / 0.885 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.007957, allocations: 59.34 kB / 0.8851 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.007979, allocations: 4 kB / 0.8851 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.008, allocations: 16.48 kB / 0.8851 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.008001, allocations: 0 / 0.8851 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of Templates: time 0.003982/0.01198, allocations: 2.26 MB / 0.8873 GB, free: 11.38 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 -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.223883734084666]