Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.00204/0.00204, allocations: 107.8 kB / 16.45 MB, free: 6.02 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.00234/0.00234, allocations: 208.3 kB / 19.43 MB, free: 3.516 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.584/1.584, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.231/3.231, allocations: 0.4899 GB / 0.7915 GB, free: 33.29 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [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.002111/0.002111, allocations: 69.88 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4301, allocations: 176.1 MB / 1.321 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002071/0.4321, allocations: 0.6518 MB / 1.322 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.4339, allocations: 1.21 MB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.4339, allocations: 0 / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.604e-05/0.434, allocations: 7.938 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.434, allocations: 15.84 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.4348, allocations: 223.1 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.435, allocations: 167.7 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4352, allocations: 23.89 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.4353, allocations: 59.91 kB / 1.324 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.4354, allocations: 67.83 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.4354, allocations: 16 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.4355, allocations: 31.98 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.4355, allocations: 11.94 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.4356, allocations: 59.88 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.4359, allocations: 143.5 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4359, allocations: 4 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4359, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4359, allocations: 0 / 1.324 GB, free: 244 kB / 1.014 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.0006683/0.4365, allocations: 442.5 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4366, allocations: 19.98 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.4367, allocations: 8.938 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.4368, allocations: 172.3 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.4368, allocations: 4.375 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.4369, allocations: 16.36 kB / 1.325 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.437, allocations: 46.25 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.437, allocations: 192 / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.437, allocations: 3.938 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4371, allocations: 0 / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.4371, allocations: 19.92 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.4377, allocations: 356.8 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.998e-05/0.4378, allocations: 30.52 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.4378, allocations: 16.94 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.4378, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.4379, allocations: 83.31 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.4379, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002919/0.4382, allocations: 109.6 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4383, allocations: 51.41 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4384, allocations: 129.7 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.4385, allocations: 37.64 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.4385, allocations: 88.14 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.4386, allocations: 7.906 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4387, allocations: 49.69 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4388, allocations: 338.7 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.439, allocations: 55.97 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.4391, allocations: 92.25 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.4394, allocations: 155.6 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4394, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004836/0.4399, allocations: 264.8 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.4399, allocations: 71.39 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4399, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.44, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.68e-05/0.44, allocations: 7.984 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.44, allocations: 8.062 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.4404, allocations: 55.89 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.4404, allocations: 12 kB / 1.326 GB, free: 13.23 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,and1.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.0001318/0.4405, allocations: 128.6 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.4405, allocations: 480 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.4406, allocations: 16.38 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4406, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.4406, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4406, allocations: 0 / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.4408, allocations: 193.4 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4408, allocations: 4.062 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.4408, allocations: 8 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4408, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4408, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4408, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4408, allocations: 0 / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.441, allocations: 113 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.441, allocations: 85.06 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.441, allocations: 7.984 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.4411, allocations: 0 / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.4411, allocations: 4 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.4411, allocations: 0 / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.4412, allocations: 95.2 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4412, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000251/0.4414, allocations: 36 kB / 1.327 GB, free: 12.46 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,and1.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.000197/0.4416, allocations: 103.2 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.442, allocations: 226.6 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.442, allocations: 0 / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.4421, allocations: 23.94 kB / 1.327 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.4423, allocations: 18.27 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.4427, allocations: 162.5 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4431, allocations: 0.6846 MB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.4431, allocations: 7.984 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.4431, allocations: 11.44 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4431, allocations: 0 / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of Templates: time 0.00518/0.4483, allocations: 1.854 MB / 1.33 GB, free: 9.316 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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: 9.43606609525159]