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.0009498/0.0009498, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0009547/0.0009547, allocations: 167.8 kB / 24.87 MB, free: 9.277 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 0.9665/0.9665, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.809/1.809, allocations: 359 MB / 0.6063 GB, free: 10.89 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.745e-06/2.745e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.882e-05, allocations: 10.84 kB / 0.7883 GB, free: 12.2 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001469/0.001498, allocations: 0.6649 MB / 0.789 GB, free: 11.55 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.002778, allocations: 1.234 MB / 0.7902 GB, free: 10.31 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.002821, allocations: 0 / 0.7902 GB, free: 10.31 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.002858, allocations: 8.422 kB / 0.7902 GB, free: 10.3 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.002934, allocations: 16.48 kB / 0.7902 GB, free: 10.29 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.003423, allocations: 210.8 kB / 0.7904 GB, free: 10.08 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.003619, allocations: 171.7 kB / 0.7906 GB, free: 9.914 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.003705, allocations: 15.97 kB / 0.7906 GB, free: 9.898 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.003816, allocations: 91.88 kB / 0.7907 GB, free: 9.809 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.00392, allocations: 51.91 kB / 0.7907 GB, free: 9.758 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.003947, allocations: 13.91 kB / 0.7907 GB, free: 9.746 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.004014, allocations: 31.98 kB / 0.7908 GB, free: 9.715 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.004036, allocations: 11.92 kB / 0.7908 GB, free: 9.703 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.004087, allocations: 47.95 kB / 0.7908 GB, free: 9.656 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.00426, allocations: 139.6 kB / 0.791 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004263, allocations: 1.531 kB / 0.791 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004264, allocations: 0 / 0.791 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.004269, allocations: 0 / 0.791 GB, free: 9.52 MB / 0.7449 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.0004049/0.004673, allocations: 467.8 kB / 0.7914 GB, free: 9.012 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004708, allocations: 12.03 kB / 0.7914 GB, free: 9 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.004758, allocations: 14.27 kB / 0.7914 GB, free: 8.988 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.987e-05/0.004838, allocations: 112.6 kB / 0.7915 GB, free: 8.852 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.004852, allocations: 8.359 kB / 0.7915 GB, free: 8.844 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.004872, allocations: 14.12 kB / 0.7916 GB, free: 8.832 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.933e-05/0.004941, allocations: 42.25 kB / 0.7916 GB, free: 8.785 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.004947, allocations: 192 / 0.7916 GB, free: 8.785 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004954, allocations: 4.312 kB / 0.7916 GB, free: 8.781 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.004958, allocations: 384 / 0.7916 GB, free: 8.781 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.616e-05/0.004974, allocations: 17.02 kB / 0.7916 GB, free: 8.766 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.005286, allocations: 308.3 kB / 0.7919 GB, free: 8.438 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.005351, allocations: 33 kB / 0.7919 GB, free: 8.395 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.005369, allocations: 15.77 kB / 0.792 GB, free: 8.375 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.005378, allocations: 11.94 kB / 0.792 GB, free: 8.363 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.005478, allocations: 77.02 kB / 0.792 GB, free: 8.273 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.00548, allocations: 0 / 0.792 GB, free: 8.273 MB / 0.7449 GB Notification: Performance of matching and sorting (n=7): time 0.0001707/0.00565, allocations: 104.1 kB / 0.7921 GB, free: 8.168 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.005685, allocations: 55.34 kB / 0.7922 GB, free: 8.102 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.005764, allocations: 177.8 kB / 0.7924 GB, free: 7.91 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.005784, allocations: 29.7 kB / 0.7924 GB, free: 7.875 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.005843, allocations: 142.8 kB / 0.7925 GB, free: 7.73 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.005855, allocations: 15.89 kB / 0.7925 GB, free: 7.715 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.005918, allocations: 55.34 kB / 0.7926 GB, free: 7.652 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.006032, allocations: 0.4891 MB / 0.7931 GB, free: 7.152 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.006116, allocations: 99.31 kB / 0.7932 GB, free: 7.043 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.00621, allocations: 150.3 kB / 0.7933 GB, free: 6.863 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.006323, allocations: 159.4 kB / 0.7935 GB, free: 6.676 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006325, allocations: 0.625 kB / 0.7935 GB, free: 6.676 MB / 0.7449 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002703/0.006595, allocations: 313.1 kB / 0.7938 GB, free: 6.34 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.006638, allocations: 68.48 kB / 0.7938 GB, free: 6.262 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.006643, allocations: 0 / 0.7938 GB, free: 6.262 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.006653, allocations: 4 kB / 0.7938 GB, free: 6.258 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.819e-05/0.006671, allocations: 4.844 kB / 0.7938 GB, free: 6.254 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006675, allocations: 4 kB / 0.7938 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.006829, allocations: 34.09 kB / 0.7939 GB, free: 6.219 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.00685, allocations: 15.97 kB / 0.7939 GB, free: 6.203 MB / 0.7449 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 8.253e-05/0.006932, allocations: 168.5 kB / 0.794 GB, free: 6.027 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.006949, allocations: 16.78 kB / 0.7941 GB, free: 6.012 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.006973, allocations: 16.31 kB / 0.7941 GB, free: 6 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006975, allocations: 1.125 kB / 0.7941 GB, free: 6 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006977, allocations: 0 / 0.7941 GB, free: 6 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006981, allocations: 0 / 0.7941 GB, free: 6 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.708e-05/0.007068, allocations: 114.6 kB / 0.7942 GB, free: 5.863 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007069, allocations: 0 / 0.7942 GB, free: 5.863 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-06/0.007077, allocations: 0 / 0.7942 GB, free: 5.863 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007078, allocations: 0 / 0.7942 GB, free: 5.863 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.007086, allocations: 5.5 kB / 0.7942 GB, free: 5.859 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007088, allocations: 7.984 kB / 0.7942 GB, free: 5.852 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.007091, allocations: 3.938 kB / 0.7942 GB, free: 5.848 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.007203, allocations: 116.7 kB / 0.7943 GB, free: 5.711 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.007211, allocations: 6.859 kB / 0.7943 GB, free: 5.707 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.007227, allocations: 0 / 0.7943 GB, free: 5.707 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.632e-05/0.007243, allocations: 4 kB / 0.7943 GB, free: 5.703 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.007277, allocations: 15.86 kB / 0.7943 GB, free: 5.688 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.007282, allocations: 4 kB / 0.7943 GB, free: 5.684 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.007324, allocations: 131.2 kB / 0.7945 GB, free: 5.555 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.007324, allocations: 0 / 0.7945 GB, free: 5.555 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001745/0.007498, allocations: 28 kB / 0.7945 GB, free: 5.527 MB / 0.7449 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.0001388/0.007637, allocations: 105.4 kB / 0.7946 GB, free: 5.414 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.007848, allocations: 265.8 kB / 0.7949 GB, free: 5.113 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.00785, allocations: 0 / 0.7949 GB, free: 5.113 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.007878, allocations: 33 kB / 0.7949 GB, free: 5.078 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.008054, allocations: 17.08 kB / 0.7949 GB, free: 5.062 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.008305, allocations: 162.7 kB / 0.7951 GB, free: 4.871 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.008337, allocations: 62.23 kB / 0.7951 GB, free: 4.793 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.00836, allocations: 4.656 kB / 0.7951 GB, free: 4.789 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.008465, allocations: 110.2 kB / 0.7952 GB, free: 4.68 MB / 0.7449 GB Notification: Performance of SimCode: time 7.11e-07/0.008466, allocations: 2.844 kB / 0.7952 GB, free: 4.68 MB / 0.7449 GB Notification: Performance of Templates: time 0.00386/0.01233, allocations: 2.296 MB / 0.7975 GB, free: 2.449 MB / 0.7449 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: 5.189234866760671]