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.001772/0.001772, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002317/0.002317, allocations: 214.9 kB / 23.01 MB, free: 4.566 MB / 14.72 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.143/3.143, allocations: 0.49 GB / 0.7958 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.58 kB / 1.155 GB, free: 25.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3427, allocations: 176.1 MB / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001926/0.3446, allocations: 0.6535 MB / 1.328 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3462, allocations: 1.225 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.3463, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3463, allocations: 7.922 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.3464, allocations: 11.94 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006441/0.347, allocations: 219 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.3473, allocations: 179.6 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.3474, allocations: 11.98 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3476, allocations: 71.89 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3477, allocations: 63.84 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.3477, allocations: 16 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.3478, allocations: 31.98 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.3478, allocations: 15.92 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/0.3479, allocations: 47.91 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3481, allocations: 159.5 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3482, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3482, allocations: 0 / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.3482, allocations: 4 kB / 1.33 GB, free: 14.68 MB / 1.029 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.0006086/0.3488, allocations: 357.5 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3488, allocations: 8.031 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.3489, allocations: 20.86 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.349, allocations: 114.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.349, allocations: 4.375 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.3491, allocations: 12.38 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3493, allocations: 54.23 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3493, allocations: 192 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3494, allocations: 3.938 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3494, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.3494, allocations: 16 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.35, allocations: 327.8 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3501, allocations: 42.5 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3501, allocations: 12.86 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3501, allocations: 4.078 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3503, allocations: 91.25 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3503, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002814/0.3506, allocations: 105.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3506, allocations: 59.41 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3507, allocations: 117.8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.3507, allocations: 33.64 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.3508, allocations: 88.14 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3509, allocations: 19.89 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.351, allocations: 49.69 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3511, allocations: 322.8 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3513, allocations: 67.91 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3514, allocations: 88.25 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.3517, allocations: 155.6 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3517, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004568/0.3521, allocations: 264.8 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.477e-05/0.3522, allocations: 67.39 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3522, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3522, allocations: 480 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.792e-05/0.3523, allocations: 11.98 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3523, allocations: 3.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.3526, allocations: 56.02 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.3526, allocations: 8 kB / 1.332 GB, free: 11.87 MB / 1.029 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.0002232/0.3529, allocations: 133.6 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.3529, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.3529, allocations: 8.375 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3529, allocations: 4 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3529, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3529, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.3531, allocations: 152.7 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3531, allocations: 0 / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.3531, allocations: 0 / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.3531, allocations: 7.984 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3531, allocations: 0 / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3531, allocations: 4.062 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3531, allocations: 0 / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3533, allocations: 124.9 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.3533, allocations: 7.953 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3533, allocations: 3.984 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.939e-05/0.3533, allocations: 0 / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.3534, allocations: 11.98 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3534, allocations: 7.938 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.676e-05/0.3535, allocations: 91.27 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3535, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002434/0.3537, allocations: 28 kB / 1.333 GB, free: 11.21 MB / 1.029 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.0001817/0.3539, allocations: 111.2 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.3543, allocations: 222.6 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3543, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.3544, allocations: 27.92 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3546, allocations: 16.27 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.355, allocations: 191.1 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.3553, allocations: 0.6885 MB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.3553, allocations: 15.38 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3553, allocations: 0 / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of Templates: time 0.003421/0.3588, allocations: 1.393 MB / 1.335 GB, free: 8.473 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.123518344014883]