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.001797/0.001797, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002191/0.002191, allocations: 167.1 kB / 22.46 MB, free: 5.379 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.571/1.571, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.892/2.892, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.071e-05, allocations: 9.453 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001826/0.001857, allocations: 0.6454 MB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.003719, allocations: 1.213 MB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.003764, allocations: 4 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.003792, allocations: 3.938 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.003873, allocations: 19.86 kB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.004557, allocations: 215 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.004839, allocations: 167.7 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.004957, allocations: 7.984 kB / 0.9837 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.005109, allocations: 95.86 kB / 0.9837 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.00525, allocations: 59.84 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.005298, allocations: 16 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.36e-05/0.005382, allocations: 20 kB / 0.9838 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.005412, allocations: 19.91 kB / 0.9839 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.005499, allocations: 43.97 kB / 0.9839 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.005774, allocations: 187.5 kB / 0.9841 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005777, allocations: 0 / 0.9841 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005778, allocations: 0 / 0.9841 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.005781, allocations: 0 / 0.9841 GB, free: 9.242 MB / 0.9356 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.0005711/0.006352, allocations: 363.6 kB / 0.9844 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.006393, allocations: 12.03 kB / 0.9844 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.006455, allocations: 12.89 kB / 0.9844 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.006569, allocations: 117.7 kB / 0.9846 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.006589, allocations: 8.375 kB / 0.9846 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.006623, allocations: 8.375 kB / 0.9846 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.006743, allocations: 46.25 kB / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.006751, allocations: 192 / 0.9846 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.006767, allocations: 8.359 kB / 0.9846 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.006772, allocations: 384 / 0.9846 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/0.006822, allocations: 15.94 kB / 0.9846 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.007364, allocations: 272.4 kB / 0.9849 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.00747, allocations: 42.56 kB / 0.9849 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.007501, allocations: 8.859 kB / 0.985 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.007514, allocations: 3.938 kB / 0.985 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.007732, allocations: 79.41 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.007733, allocations: 0 / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003094/0.008043, allocations: 117.5 kB / 0.9851 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.008091, allocations: 55.41 kB / 0.9852 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.008199, allocations: 114.1 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.008237, allocations: 29.7 kB / 0.9853 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.008314, allocations: 96.08 kB / 0.9854 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.008337, allocations: 23.94 kB / 0.9854 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.008434, allocations: 49.62 kB / 0.9855 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.008578, allocations: 318.8 kB / 0.9858 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.008793, allocations: 119.4 kB / 0.9859 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.009001, allocations: 155.6 kB / 0.9861 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.009219, allocations: 155.6 kB / 0.9862 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009221, allocations: 4 kB / 0.9862 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004973/0.009718, allocations: 328.2 kB / 0.9865 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/0.009784, allocations: 69.73 kB / 0.9866 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.00979, allocations: 4 kB / 0.9866 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.009807, allocations: 3.984 kB / 0.9866 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.597e-05/0.009833, allocations: 7.984 kB / 0.9866 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.009839, allocations: 0 / 0.9866 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.01021, allocations: 60.02 kB / 0.9867 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.01025, allocations: 11.98 kB / 0.9867 GB, free: 6.289 MB / 0.9356 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.0001166/0.01036, allocations: 125.8 kB / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.01038, allocations: 7.891 kB / 0.9868 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.01041, allocations: 12.44 kB / 0.9868 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01041, allocations: 0 / 0.9868 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01041, allocations: 0 / 0.9868 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01042, allocations: 0 / 0.9868 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.01053, allocations: 121.3 kB / 0.9869 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01054, allocations: 4 kB / 0.9869 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.356e-06/0.01054, allocations: 0 / 0.9869 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.01055, allocations: 3.938 kB / 0.9869 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.01056, allocations: 4 kB / 0.9869 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01056, allocations: 96 / 0.9869 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01056, allocations: 7.875 kB / 0.9869 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.01073, allocations: 113 kB / 0.9871 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.01075, allocations: 7.938 kB / 0.9871 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.01076, allocations: 3.938 kB / 0.9871 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.01078, allocations: 8.047 kB / 0.9871 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.01083, allocations: 8 kB / 0.9871 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01084, allocations: 11.98 kB / 0.9871 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.01091, allocations: 87.28 kB / 0.9872 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01091, allocations: 0 / 0.9872 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002452/0.01115, allocations: 24 kB / 0.9872 GB, free: 5.691 MB / 0.9356 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.0001724/0.01132, allocations: 111.8 kB / 0.9873 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.01173, allocations: 278.1 kB / 0.9876 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01173, allocations: 0 / 0.9876 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.676e-05/0.01178, allocations: 19.94 kB / 0.9876 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.01203, allocations: 20.23 kB / 0.9876 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.01246, allocations: 153.5 kB / 0.9878 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.162e-05/0.01253, allocations: 71.58 kB / 0.9878 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.01256, allocations: 4 kB / 0.9878 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.0126, allocations: 12.5 kB / 0.9878 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.01261, allocations: 0 / 0.9878 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.005704/0.01831, allocations: 2.04 MB / 0.9898 GB, free: 2.953 MB / 0.9356 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: 8.305302869528532]