Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 116.8 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 75.88 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3208, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001796/0.3226, allocations: 0.6581 MB / 1.177 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3242, allocations: 1.195 MB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.3242, allocations: 0 / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.3243, allocations: 3.938 kB / 1.178 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.3243, allocations: 11.91 kB / 1.178 GB, free: 4 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.325, allocations: 214.8 kB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.3252, allocations: 183.8 kB / 1.178 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.084e-05/0.3253, allocations: 11.98 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.3254, allocations: 67.83 kB / 1.178 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3255, allocations: 71.77 kB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.3256, allocations: 16 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.3257, allocations: 27.98 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.3257, allocations: 4 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.3258, allocations: 63.81 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.326, allocations: 143.6 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.326, allocations: 4 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3261, allocations: 0 / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.3261, allocations: 0 / 1.178 GB, free: 3.215 MB / 0.92 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.0005583/0.3266, allocations: 438.6 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3267, allocations: 12.03 kB / 1.179 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.3267, allocations: 12.89 kB / 1.179 GB, free: 2.699 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3269, allocations: 164.3 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3269, allocations: 16.3 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3269, allocations: 12.38 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.327, allocations: 50.23 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3271, allocations: 192 / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3271, allocations: 7.875 kB / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3271, allocations: 0 / 1.179 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.3271, allocations: 19.98 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3277, allocations: 356.7 kB / 1.18 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.815e-05/0.3278, allocations: 34.52 kB / 1.18 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.3278, allocations: 20.94 kB / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.3278, allocations: 0 / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.328, allocations: 75.38 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.328, allocations: 0 / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002664/0.3283, allocations: 109.8 kB / 1.18 GB, free: 1.727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3284, allocations: 55.41 kB / 1.18 GB, free: 1.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3285, allocations: 121.8 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.3285, allocations: 33.7 kB / 1.18 GB, free: 1.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.3286, allocations: 100.1 kB / 1.18 GB, free: 1.391 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.3286, allocations: 11.91 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3287, allocations: 57.67 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3289, allocations: 314.8 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.329, allocations: 59.97 kB / 1.18 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.3292, allocations: 104.2 kB / 1.181 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.3294, allocations: 155.6 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3294, allocations: 480 / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004434/0.3299, allocations: 256.9 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/0.33, allocations: 71.39 kB / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.33, allocations: 4.062 kB / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.33, allocations: 0 / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.286e-05/0.33, allocations: 7.984 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.33, allocations: 0 / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.3304, allocations: 55.89 kB / 1.181 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.3304, allocations: 20.08 kB / 1.181 GB, free: 212 kB / 0.92 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.0001148/0.3305, allocations: 125.7 kB / 1.181 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.3306, allocations: 3.953 kB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.3306, allocations: 16.31 kB / 1.181 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3306, allocations: 0 / 1.181 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3306, allocations: 0 / 1.181 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3306, allocations: 0 / 1.181 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3308, allocations: 181.5 kB / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3308, allocations: 0 / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.3308, allocations: 12 kB / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3308, allocations: 0 / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3308, allocations: 0 / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3308, allocations: 0 / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3309, allocations: 0 / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.331, allocations: 116.9 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.3311, allocations: 81.11 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3311, allocations: 7.984 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.843e-05/0.3311, allocations: 4 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3312, allocations: 4 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.3312, allocations: 3.984 kB / 1.182 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.3312, allocations: 87.28 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3312, allocations: 0 / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002349/0.3315, allocations: 32 kB / 1.182 GB, free: 15.45 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.0001534/0.3316, allocations: 106 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.332, allocations: 254.6 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.332, allocations: 288 / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.3321, allocations: 31.92 kB / 1.182 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3323, allocations: 15.92 kB / 1.182 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.3327, allocations: 188.3 kB / 1.182 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.333, allocations: 0.6848 MB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.333, allocations: 11.44 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.333, allocations: 0 / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.003244/0.3363, allocations: 1.398 MB / 1.184 GB, free: 12.68 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.217126418021508]