Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001391/0.001391, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001637/0.001637, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.262/3.262, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.062e-05/4.391e-05, allocations: 3.297 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.003779/0.003822, allocations: 0.6617 MB / 0.8783 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003622/0.007445, allocations: 1.207 MB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.007512, allocations: 0 / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.007555, allocations: 0 / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.007726, allocations: 22 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.00915, allocations: 211.8 kB / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.009658, allocations: 171.7 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.009785, allocations: 4 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.01011, allocations: 95.86 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.01036, allocations: 51.91 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.01044, allocations: 16 kB / 0.88 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.01059, allocations: 31.92 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.01063, allocations: 4 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.01079, allocations: 51.94 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.01129, allocations: 184.1 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.0113, allocations: 1.281 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.0113, allocations: 0 / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.0113, allocations: 0 / 0.8802 GB, free: 3.812 MB / 0.8386 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.001018/0.01232, allocations: 361.5 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.01238, allocations: 9.562 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.01252, allocations: 8.938 kB / 0.8806 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.01272, allocations: 117.7 kB / 0.8807 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.01276, allocations: 12.3 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.01282, allocations: 13.59 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.01301, allocations: 42.25 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01302, allocations: 192 / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.01304, allocations: 4.875 kB / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.01304, allocations: 384 / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.15e-05/0.01312, allocations: 23.92 kB / 0.8808 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.01391, allocations: 272.4 kB / 0.8811 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.01406, allocations: 34.52 kB / 0.8811 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.01412, allocations: 12.94 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.01414, allocations: 4 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.01449, allocations: 79.31 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.01449, allocations: 0 / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0005126/0.01501, allocations: 113.5 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.0151, allocations: 59.39 kB / 0.8814 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.01532, allocations: 121.8 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.01539, allocations: 29.7 kB / 0.8815 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01552, allocations: 88.14 kB / 0.8816 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.01556, allocations: 23.83 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.01575, allocations: 49.69 kB / 0.8817 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002794/0.01603, allocations: 314.8 kB / 0.882 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.0164, allocations: 123.4 kB / 0.8821 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.0168, allocations: 151.6 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.01748, allocations: 163.6 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01748, allocations: 0 / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00105/0.01853, allocations: 344.2 kB / 0.8827 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.01866, allocations: 71.39 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01867, allocations: 0 / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.0187, allocations: 0 / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.01874, allocations: 7.984 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.01875, allocations: 0 / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.01941, allocations: 56.02 kB / 0.8828 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.01948, allocations: 20.3 kB / 0.8828 GB, free: 0.8477 MB / 0.8386 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.0002241/0.0197, allocations: 125.8 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.01974, allocations: 7.938 kB / 0.883 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.01979, allocations: 8.438 kB / 0.883 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.0198, allocations: 4 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.0198, allocations: 0 / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01981, allocations: 4 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.02004, allocations: 121.2 kB / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02005, allocations: 0 / 0.8831 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.02006, allocations: 4 kB / 0.8831 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.02007, allocations: 7.875 kB / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.02008, allocations: 0 / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.02009, allocations: 0 / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.02009, allocations: 4 kB / 0.8831 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.0204, allocations: 113.1 kB / 0.8832 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.02044, allocations: 15.89 kB / 0.8832 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.02047, allocations: 7.922 kB / 0.8833 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.02051, allocations: 4 kB / 0.8833 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.02059, allocations: 8 kB / 0.8833 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.02061, allocations: 7.984 kB / 0.8833 GB, free: 364 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000115/0.02073, allocations: 87.28 kB / 0.8834 GB, free: 276 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/0.02073, allocations: 0 / 0.8834 GB, free: 276 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004629/0.02119, allocations: 24 kB / 0.8834 GB, free: 252 kB / 0.8386 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.000267/0.02146, allocations: 111.2 kB / 0.8835 GB, free: 132 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007561/0.02221, allocations: 274.3 kB / 0.8837 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.02222, allocations: 4.062 kB / 0.8837 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.02231, allocations: 23.94 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.02274, allocations: 18.17 kB / 0.8838 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.02342, allocations: 164.2 kB / 0.8839 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.02354, allocations: 71.33 kB / 0.884 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.02359, allocations: 7.859 kB / 0.884 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.02364, allocations: 16.5 kB / 0.884 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.02364, allocations: 0 / 0.884 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.00972/0.03336, allocations: 2.06 MB / 0.886 GB, free: 13.48 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.58700175897684]