Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007339/0.0007339, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009315/0.001665, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007592/0.0007592, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002097, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/1.151, allocations: 53.63 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.908/1.908, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.6016/2.51, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.093e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001423/0.001454, allocations: 0.6976 MB / 0.73 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.002702, allocations: 1.248 MB / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.002742, allocations: 0.9844 kB / 0.7312 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.002767, allocations: 3.938 kB / 0.7312 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.002816, allocations: 16.08 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.003223, allocations: 201.4 kB / 0.7314 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.003441, allocations: 178.3 kB / 0.7316 GB, free: 2.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.003529, allocations: 8 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.003671, allocations: 110.8 kB / 0.7317 GB, free: 2.09 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.003789, allocations: 51.91 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.003819, allocations: 16.88 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.93e-05/0.003908, allocations: 23.98 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.003932, allocations: 13.38 kB / 0.7318 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.003984, allocations: 32 kB / 0.7319 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.004173, allocations: 107.7 kB / 0.732 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.004189, allocations: 0 / 0.732 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.392e-06/0.00419, allocations: 0.6562 kB / 0.732 GB, free: 1.852 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.004208, allocations: 0 / 0.732 GB, free: 1.852 MB / 0.698 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.0005173/0.004726, allocations: 344.6 kB / 0.7323 GB, free: 1.477 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.00476, allocations: 13.81 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.004801, allocations: 12.92 kB / 0.7323 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.004891, allocations: 121.6 kB / 0.7324 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.004906, allocations: 8.375 kB / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.004925, allocations: 12.36 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.005002, allocations: 43.2 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.00501, allocations: 192 / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.005019, allocations: 4.375 kB / 0.7325 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.005024, allocations: 2.438 kB / 0.7325 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.005047, allocations: 15.88 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.005311, allocations: 176.3 kB / 0.7327 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.005374, allocations: 34.56 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.005476, allocations: 10.05 kB / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.005486, allocations: 0 / 0.7327 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.005598, allocations: 87.39 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.005599, allocations: 0.5 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001386/0.005738, allocations: 70.48 kB / 0.7329 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.005774, allocations: 55.34 kB / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.005847, allocations: 126.6 kB / 0.7331 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.005869, allocations: 34.58 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.005914, allocations: 92.09 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.005927, allocations: 12.44 kB / 0.7332 GB, free: 472 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.005997, allocations: 49.67 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.006087, allocations: 320.6 kB / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.006179, allocations: 99.38 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.006258, allocations: 131.7 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.532e-05/0.006353, allocations: 144.7 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006356, allocations: 0.9688 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001922/0.006548, allocations: 265.2 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.006598, allocations: 67.39 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.006607, allocations: 8.438 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.006617, allocations: 0.75 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.137e-05/0.006639, allocations: 7.938 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.006642, allocations: 1.031 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.006798, allocations: 40.67 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.006817, allocations: 11.98 kB / 0.7343 GB, free: 15.22 MB / 0.7136 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.208e-05/0.006889, allocations: 122.3 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.006899, allocations: 7.984 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.006931, allocations: 16.38 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006933, allocations: 1.219 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.006935, allocations: 0 / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.006939, allocations: 0 / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.861e-05/0.007007, allocations: 81.88 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.007009, allocations: 0.75 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-06/0.007016, allocations: 3.938 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.007026, allocations: 12.78 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.007028, allocations: 0 / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.007032, allocations: 0.6562 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.007034, allocations: 3.938 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007035, allocations: 1.844 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.34e-05/0.007108, allocations: 81.09 kB / 0.7346 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.00712, allocations: 4 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.278e-05/0.007133, allocations: 4 kB / 0.7346 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.007167, allocations: 15.86 kB / 0.7346 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.00717, allocations: 1.188 kB / 0.7346 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.434e-05/0.007185, allocations: 16.84 kB / 0.7346 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007185, allocations: 3.938 kB / 0.7346 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001336/0.007318, allocations: 36.47 kB / 0.7347 GB, free: 14.77 MB / 0.7136 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.0001092/0.007428, allocations: 81.28 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.007635, allocations: 267.8 kB / 0.735 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.00764, allocations: 1.156 kB / 0.735 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.007663, allocations: 16.86 kB / 0.735 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.007775, allocations: 22.67 kB / 0.7351 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.008205, allocations: 157 kB / 0.7352 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.008238, allocations: 63.28 kB / 0.7353 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.00826, allocations: 6.75 kB / 0.7353 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.008363, allocations: 75.34 kB / 0.7353 GB, free: 14 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.008363, allocations: 0 / 0.7353 GB, free: 14 MB / 0.7136 GB Notification: Performance of Templates: time 0.003918/0.01228, allocations: 2.315 MB / 0.7376 GB, free: 11.8 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.ref.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.016429451294243]