Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.001821/0.001821, allocations: 116.4 kB / 17.08 MB, free: 5.977 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.00186/0.00186, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.555/1.555, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.824/2.824, allocations: 437.1 MB / 0.7177 GB, free: 4.527 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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 64.14 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 151.6 MB / 1.176 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001892/0.3144, allocations: 0.7032 MB / 1.177 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3162, allocations: 1.273 MB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.3163, allocations: 0 / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.3164, allocations: 3.938 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.802e-05/0.3165, allocations: 23.78 kB / 1.178 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.3174, allocations: 302.5 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.3177, allocations: 279.5 kB / 1.178 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3179, allocations: 12.19 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.318, allocations: 99.86 kB / 1.178 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.3182, allocations: 99.66 kB / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.3183, allocations: 24 kB / 1.179 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3184, allocations: 39.94 kB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.3184, allocations: 19.91 kB / 1.179 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3185, allocations: 83.8 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.3189, allocations: 223.3 kB / 1.179 GB, free: 2.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3189, allocations: 0 / 1.179 GB, free: 2.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3189, allocations: 0 / 1.179 GB, free: 2.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.3189, allocations: 0 / 1.179 GB, free: 2.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006711/0.3196, allocations: 492.2 kB / 1.179 GB, free: 2.129 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3196, allocations: 12.02 kB / 1.179 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.3197, allocations: 20.89 kB / 1.179 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.3199, allocations: 176.3 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.3199, allocations: 16.31 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.3199, allocations: 12.38 kB / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3201, allocations: 62.16 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3201, allocations: 3.938 kB / 1.18 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3201, allocations: 4 kB / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3201, allocations: 0 / 1.18 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.185e-05/0.3202, allocations: 19.98 kB / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.3208, allocations: 416.5 kB / 1.18 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.3209, allocations: 38.5 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.3209, allocations: 16.86 kB / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.3209, allocations: 0 / 1.18 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.3212, allocations: 103.4 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 3.427e-06/0.3212, allocations: 3.984 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0003173/0.3215, allocations: 145.8 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3216, allocations: 55.34 kB / 1.18 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3217, allocations: 133.8 kB / 1.181 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.3217, allocations: 33.7 kB / 1.181 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.3218, allocations: 96.12 kB / 1.181 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.3219, allocations: 23.92 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.322, allocations: 69.67 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3221, allocations: 326.8 kB / 1.181 GB, free: 212 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.3224, allocations: 91.94 kB / 1.181 GB, free: 120 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3226, allocations: 131.8 kB / 1.181 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.3229, allocations: 235 kB / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3229, allocations: 0 / 1.182 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006133/0.3235, allocations: 370.5 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.51e-05/0.3236, allocations: 101.3 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3237, allocations: 4 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3237, allocations: 4 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.692e-05/0.3237, allocations: 4 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3237, allocations: 3.938 kB / 1.182 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.3242, allocations: 83.8 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.3243, allocations: 19.98 kB / 1.182 GB, free: 15.08 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001292/0.3244, allocations: 135.2 kB / 1.182 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.3244, allocations: 7.953 kB / 1.182 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.3245, allocations: 12.38 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3245, allocations: 3.938 kB / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3245, allocations: 0 / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3245, allocations: 0 / 1.182 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.3247, allocations: 197.5 kB / 1.182 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3247, allocations: 0 / 1.182 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.3247, allocations: 7.938 kB / 1.182 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3247, allocations: 0 / 1.182 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3247, allocations: 12 kB / 1.182 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3248, allocations: 0 / 1.182 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3248, allocations: 3.984 kB / 1.182 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.325, allocations: 132.9 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.325, allocations: 89.19 kB / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.325, allocations: 3.984 kB / 1.183 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.659e-05/0.3251, allocations: 11.94 kB / 1.183 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.3251, allocations: 11.98 kB / 1.183 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.3252, allocations: 4 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.816e-05/0.3252, allocations: 100.7 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3252, allocations: 0 / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002603/0.3255, allocations: 43.95 kB / 1.183 GB, free: 14.22 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001872/0.3257, allocations: 105.6 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.3262, allocations: 374 kB / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3262, allocations: 0 / 1.183 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.3263, allocations: 43.97 kB / 1.183 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3266, allocations: 23.92 kB / 1.183 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.327, allocations: 212.8 kB / 1.184 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3274, allocations: 0.6963 MB / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.3274, allocations: 15.44 kB / 1.184 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3274, allocations: 0 / 1.184 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.004152/0.3316, allocations: 1.875 MB / 1.186 GB, free: 10.8 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.665136907016858]