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.001028/0.001028, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001103/0.001103, allocations: 169 kB / 24.06 MB, free: 456 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 1.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.062/2.062, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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 2.255e-06/2.255e-06, allocations: 3.938 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.096e-05, allocations: 6.25 kB / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001576/0.001607, allocations: 0.6697 MB / 0.8801 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.00288, allocations: 1.233 MB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.002926, allocations: 0.5625 kB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.002952, allocations: 4.781 kB / 0.8813 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.003028, allocations: 16.5 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.003563, allocations: 212.9 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.003761, allocations: 173.3 kB / 0.8817 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.003852, allocations: 11.98 kB / 0.8817 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.003966, allocations: 95.92 kB / 0.8818 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.004078, allocations: 52.5 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.004105, allocations: 16 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.004171, allocations: 24.81 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.004197, allocations: 15.97 kB / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.004249, allocations: 49.19 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.004421, allocations: 139.7 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.004424, allocations: 0 / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004425, allocations: 0 / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.00443, allocations: 1.031 kB / 0.882 GB, free: 3.316 MB / 0.8386 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.0004216/0.004851, allocations: 475.7 kB / 0.8825 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.004885, allocations: 13.16 kB / 0.8825 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.004934, allocations: 12.89 kB / 0.8825 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.00501, allocations: 108.6 kB / 0.8826 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.005024, allocations: 5.406 kB / 0.8826 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.005046, allocations: 12.38 kB / 0.8826 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.00512, allocations: 46.17 kB / 0.8827 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.005128, allocations: 5.297 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.005135, allocations: 384 / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.00514, allocations: 4.375 kB / 0.8827 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.005158, allocations: 12.7 kB / 0.8827 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.005468, allocations: 308.3 kB / 0.883 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.005537, allocations: 39.61 kB / 0.883 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.005557, allocations: 25.42 kB / 0.8831 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.005564, allocations: 0 / 0.8831 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.005679, allocations: 77.02 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.00568, allocations: 0 / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001878/0.005868, allocations: 103.1 kB / 0.8832 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.005904, allocations: 51.41 kB / 0.8833 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.005999, allocations: 173.9 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.006024, allocations: 33.7 kB / 0.8835 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.006084, allocations: 140 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.006099, allocations: 11.94 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.006166, allocations: 63.31 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.006288, allocations: 493.1 kB / 0.8842 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/0.006379, allocations: 103.4 kB / 0.8843 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.006486, allocations: 150.2 kB / 0.8844 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.006605, allocations: 167.9 kB / 0.8846 GB, free: 476 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.006608, allocations: 4 kB / 0.8846 GB, free: 472 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000279/0.006887, allocations: 303.3 kB / 0.8849 GB, free: 140 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.006934, allocations: 71.33 kB / 0.8849 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.00694, allocations: 0 / 0.8849 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.006952, allocations: 4 kB / 0.8849 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.668e-05/0.006969, allocations: 0 / 0.8849 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006974, allocations: 11.92 kB / 0.8849 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.007138, allocations: 37.42 kB / 0.885 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.007173, allocations: 12.05 kB / 0.885 GB, free: 15.99 MB / 0.8542 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 9.233e-05/0.007265, allocations: 176.5 kB / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.00728, allocations: 8 kB / 0.8852 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.007305, allocations: 12.38 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007306, allocations: 0 / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.00731, allocations: 3.984 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007313, allocations: 0 / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.448e-05/0.007398, allocations: 117.2 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.0074, allocations: 0 / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-06/0.007406, allocations: 0 / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.007408, allocations: 0 / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.007414, allocations: 4 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007415, allocations: 4 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.007418, allocations: 3.938 kB / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.007612, allocations: 116.3 kB / 0.8854 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.007621, allocations: 3.953 kB / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.007632, allocations: 7.984 kB / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.00765, allocations: 4 kB / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.007681, allocations: 7.938 kB / 0.8854 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.007686, allocations: 3.984 kB / 0.8854 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.007723, allocations: 127.2 kB / 0.8856 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007723, allocations: 0 / 0.8856 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001753/0.007898, allocations: 35.98 kB / 0.8856 GB, free: 15.31 MB / 0.8542 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.0001266/0.008025, allocations: 95.25 kB / 0.8857 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.008243, allocations: 273.8 kB / 0.8859 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.008245, allocations: 0 / 0.8859 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.008273, allocations: 27.61 kB / 0.886 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.008451, allocations: 12.97 kB / 0.886 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.008708, allocations: 166.7 kB / 0.8861 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.008741, allocations: 59.34 kB / 0.8862 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.769e-05/0.008768, allocations: 7.859 kB / 0.8862 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.00888, allocations: 102.1 kB / 0.8863 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of SimCode: time 8.32e-07/0.008881, allocations: 0 / 0.8863 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of Templates: time 0.004024/0.0129, allocations: 2.307 MB / 0.8886 GB, free: 12.22 MB / 0.8542 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.2816337728872895]