Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001031/0.001031, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001006/0.001006, allocations: 181 kB / 24.09 MB, free: 416 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.9648/0.9648, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.752/1.752, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.934e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001218/0.001237, allocations: 0.6673 MB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.002393, allocations: 1.235 MB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.002434, allocations: 0 / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.00246, allocations: 6.531 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.002537, allocations: 15.91 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.00298, allocations: 207.4 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.003137, allocations: 173.3 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.003212, allocations: 7.984 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.003319, allocations: 99.86 kB / 0.7899 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.003413, allocations: 47.91 kB / 0.79 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.00344, allocations: 16.59 kB / 0.79 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.108e-05/0.003501, allocations: 35.86 kB / 0.79 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.003522, allocations: 12.67 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.003567, allocations: 47.95 kB / 0.7901 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.003713, allocations: 132.7 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003715, allocations: 0 / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003715, allocations: 1.531 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.00372, allocations: 0 / 0.7902 GB, free: 9.523 MB / 0.7448 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.0004026/0.004122, allocations: 475.8 kB / 0.7906 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.004165, allocations: 8.031 kB / 0.7906 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.004208, allocations: 13.86 kB / 0.7907 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.127e-05/0.004289, allocations: 116.5 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.004303, allocations: 4.375 kB / 0.7908 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.004324, allocations: 17.11 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/0.004396, allocations: 38.25 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004403, allocations: 2.75 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.004409, allocations: 4.375 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.004415, allocations: 384 / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.97e-05/0.004434, allocations: 19.8 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.005132, allocations: 312.3 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.005184, allocations: 31.06 kB / 0.7912 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.005199, allocations: 20.3 kB / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.005205, allocations: 0.7188 kB / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.62e-05/0.005291, allocations: 80.95 kB / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/0.005292, allocations: 0.5312 kB / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001513/0.005443, allocations: 99.41 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.005472, allocations: 59.39 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.005542, allocations: 169.9 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.005559, allocations: 33.7 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.005609, allocations: 143.4 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.005621, allocations: 15.88 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.005681, allocations: 59.92 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.005789, allocations: 496.1 kB / 0.7923 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.005867, allocations: 104.1 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.005952, allocations: 149.8 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.006048, allocations: 156.3 kB / 0.7927 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00605, allocations: 0 / 0.7927 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000238/0.006288, allocations: 306.2 kB / 0.793 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.006327, allocations: 71.33 kB / 0.7931 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.006333, allocations: 4.078 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.006342, allocations: 0 / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.006361, allocations: 12.86 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.006364, allocations: 3.984 kB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.006507, allocations: 37.81 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.006524, allocations: 11.98 kB / 0.7931 GB, free: 6.199 MB / 0.7448 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.322e-05/0.006598, allocations: 171.5 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.006607, allocations: 7.953 kB / 0.7933 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.006629, allocations: 16.36 kB / 0.7933 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.006632, allocations: 5.469 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006633, allocations: 0 / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006636, allocations: 0 / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.369e-05/0.00671, allocations: 113.2 kB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006711, allocations: 1.062 kB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-06/0.006716, allocations: 3.938 kB / 0.7934 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.006718, allocations: 6 kB / 0.7934 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.006722, allocations: 0 / 0.7934 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.006723, allocations: 0 / 0.7934 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006724, allocations: 3.938 kB / 0.7934 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.02e-05/0.006815, allocations: 116.4 kB / 0.7936 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.006825, allocations: 15.92 kB / 0.7936 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-06/0.006833, allocations: 2.344 kB / 0.7936 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.006844, allocations: 4 kB / 0.7936 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.006871, allocations: 11.92 kB / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006873, allocations: 0 / 0.7936 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.006908, allocations: 131.2 kB / 0.7937 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006908, allocations: 0 / 0.7937 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001425/0.00705, allocations: 36.44 kB / 0.7937 GB, free: 5.52 MB / 0.7448 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.0001128/0.007163, allocations: 97.72 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.007384, allocations: 269.8 kB / 0.7941 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007385, allocations: 4 kB / 0.7941 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.007411, allocations: 23.67 kB / 0.7941 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.007572, allocations: 14.17 kB / 0.7941 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.007829, allocations: 166 kB / 0.7943 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.007864, allocations: 65.72 kB / 0.7944 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.007883, allocations: 4 kB / 0.7944 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.007992, allocations: 106.2 kB / 0.7945 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.007993, allocations: 0 / 0.7945 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of Templates: time 0.003309/0.0113, allocations: 2.243 MB / 0.7967 GB, free: 2.508 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.808736874256283]