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.001312/0.001312, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001451/0.001451, allocations: 221.4 kB / 23 MB, free: 4.914 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.198/3.198, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 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.002114/0.002114, allocations: 71.19 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001949/0.3494, allocations: 0.6402 MB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.351, allocations: 1.206 MB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.3511, allocations: 7.938 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.3511, allocations: 3.938 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.3512, allocations: 3.938 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006892/0.3519, allocations: 221.4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.3522, allocations: 171.8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.3522, allocations: 16 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3523, allocations: 75.81 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.3525, allocations: 47.86 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3525, allocations: 16 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.77e-05/0.3526, allocations: 35.98 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.3526, allocations: 11.92 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.3527, allocations: 51.89 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3529, allocations: 155.4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3529, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3529, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.3529, allocations: 3.938 kB / 1.329 GB, free: 15.22 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.0005053/0.3535, allocations: 369.5 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3535, allocations: 8.031 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.3535, allocations: 8.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3536, allocations: 114.4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3537, allocations: 8.375 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.3537, allocations: 8.375 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.3538, allocations: 54.23 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3538, allocations: 192 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3538, allocations: 7.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3538, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.696e-05/0.3539, allocations: 19.98 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.3544, allocations: 272.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.3545, allocations: 30.52 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.3545, allocations: 24.88 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3545, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.3547, allocations: 83.31 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3547, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003172/0.355, allocations: 109.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.3551, allocations: 59.39 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3552, allocations: 113.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.3552, allocations: 33.7 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.3553, allocations: 88.14 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.3553, allocations: 23.88 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3554, allocations: 49.69 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3556, allocations: 315.2 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3558, allocations: 123.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.356, allocations: 160.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.3563, allocations: 167.5 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3563, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005023/0.3568, allocations: 324.2 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/0.3568, allocations: 67.39 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3568, allocations: 3.938 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3568, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.567e-05/0.3569, allocations: 3.984 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3569, allocations: 4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.3572, allocations: 56.02 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3573, allocations: 15.98 kB / 1.332 GB, free: 12.26 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.0001294/0.3574, allocations: 131.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.3574, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.3574, allocations: 12.36 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3574, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3574, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3574, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.3576, allocations: 121.2 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3576, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.3576, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3576, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3576, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3576, allocations: 64 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3576, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.3578, allocations: 125.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.3578, allocations: 3.953 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.3578, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.3578, allocations: 8.078 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3578, allocations: 11.94 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.3579, allocations: 3.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.22e-05/0.3579, allocations: 87.28 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3579, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002564/0.3582, allocations: 31.98 kB / 1.332 GB, free: 11.64 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.0001797/0.3584, allocations: 103.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.359, allocations: 286.1 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.359, allocations: 4.25 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.359, allocations: 23.94 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3593, allocations: 19.92 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.3597, allocations: 184.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.3598, allocations: 67.34 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.3598, allocations: 11.44 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3598, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of Templates: time 0.00336/0.3632, allocations: 1.419 MB / 1.334 GB, free: 9.445 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.238544454798102]