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.002555/0.002555, allocations: 88.16 kB / 19.44 MB, free: 192 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.003794/0.003794, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.337/3.337, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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.524e-06/2.524e-06, allocations: 0 / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.497e-05, allocations: 9.547 kB / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002727/0.002762, allocations: 0.6579 MB / 0.8781 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.00529, allocations: 1.21 MB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.005339, allocations: 0 / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.005366, allocations: 4.906 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.005474, allocations: 19.34 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.006367, allocations: 216.7 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.006727, allocations: 173 kB / 0.8797 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.006826, allocations: 4 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.007058, allocations: 99.84 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.007262, allocations: 52.7 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.007315, allocations: 12 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.007423, allocations: 28.55 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.007459, allocations: 17.02 kB / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.007579, allocations: 47.95 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.007969, allocations: 187.5 kB / 0.8801 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.007972, allocations: 4.656 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007973, allocations: 0 / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.007977, allocations: 1.594 kB / 0.8801 GB, free: 3.922 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.0008371/0.008814, allocations: 463.5 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.008865, allocations: 12.03 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.00896, allocations: 8.938 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.009148, allocations: 128.2 kB / 0.8807 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.009174, allocations: 8.375 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.009218, allocations: 12.31 kB / 0.8807 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.009372, allocations: 46.25 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.009382, allocations: 192 / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.009399, allocations: 4.359 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.009403, allocations: 384 / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.009482, allocations: 23.94 kB / 0.8808 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.01021, allocations: 327.7 kB / 0.8811 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.01035, allocations: 46.98 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.037e-05/0.01041, allocations: 20.62 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.01042, allocations: 0 / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.01064, allocations: 94.08 kB / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.01064, allocations: 0 / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004309/0.01108, allocations: 114.7 kB / 0.8814 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.01115, allocations: 55.41 kB / 0.8814 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.01137, allocations: 189.8 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.01142, allocations: 34.42 kB / 0.8816 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01156, allocations: 134.9 kB / 0.8818 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.01159, allocations: 16.84 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.01177, allocations: 59.34 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003652/0.01213, allocations: 0.4923 MB / 0.8823 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.01245, allocations: 138.9 kB / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.01283, allocations: 190.1 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.0132, allocations: 177.8 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.01321, allocations: 3.984 kB / 0.8828 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008818/0.01409, allocations: 364.9 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.599e-05/0.01419, allocations: 67.39 kB / 0.8832 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.0142, allocations: 4.594 kB / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.01422, allocations: 0.5 kB / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.82e-05/0.01424, allocations: 4 kB / 0.8832 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01425, allocations: 1.156 kB / 0.8832 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.01467, allocations: 45.41 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.01472, allocations: 15.98 kB / 0.8833 GB, free: 364 kB / 0.8386 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.0002018/0.01492, allocations: 168.5 kB / 0.8835 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.01495, allocations: 12.12 kB / 0.8835 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.015, allocations: 16.44 kB / 0.8835 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.015, allocations: 0 / 0.8835 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.01501, allocations: 0 / 0.8835 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.01502, allocations: 3.984 kB / 0.8835 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.01525, allocations: 136.6 kB / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01525, allocations: 0 / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.575e-05/0.01527, allocations: 4 kB / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01527, allocations: 0 / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.01529, allocations: 3.938 kB / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01529, allocations: 0 / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01529, allocations: 4 kB / 0.8836 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.01557, allocations: 128.3 kB / 0.8837 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.01559, allocations: 7.891 kB / 0.8838 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.01562, allocations: 11.92 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.01565, allocations: 4 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/0.01572, allocations: 15.91 kB / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01574, allocations: 4 kB / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001247/0.01586, allocations: 135.2 kB / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01586, allocations: 0 / 0.8839 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004134/0.01628, allocations: 32 kB / 0.8839 GB, free: 15.61 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.0002155/0.01649, allocations: 99.25 kB / 0.884 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000696/0.01719, allocations: 337.8 kB / 0.8844 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01719, allocations: 0 / 0.8844 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.669e-05/0.01729, allocations: 43.61 kB / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.01764, allocations: 13.05 kB / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.01815, allocations: 166.7 kB / 0.8846 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01825, allocations: 75.58 kB / 0.8846 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.01829, allocations: 7.859 kB / 0.8847 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.01833, allocations: 12.5 kB / 0.8847 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.01833, allocations: 0 / 0.8847 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.007915/0.02624, allocations: 2.077 MB / 0.8867 GB, free: 12.75 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.55974098504521]