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.001623/0.001623, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001795/0.001795, allocations: 221 kB / 23 MB, free: 4.918 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.111/3.111, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.002053/0.002053, allocations: 75.45 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001828/0.31, allocations: 0.6402 MB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3116, allocations: 1.206 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.3117, allocations: 4 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.3117, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.3118, allocations: 11.88 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006362/0.3124, allocations: 218.4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.3126, allocations: 179.7 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.3127, allocations: 11.98 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3128, allocations: 67.84 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.313, allocations: 59.78 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.313, allocations: 16 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.3131, allocations: 27.98 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3131, allocations: 8 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.3132, allocations: 59.81 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3134, allocations: 151.6 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3134, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3134, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3134, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 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.0005318/0.314, allocations: 361.5 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.314, allocations: 12.02 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.314, allocations: 8.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3142, allocations: 114.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3142, allocations: 8.312 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.3142, allocations: 8.375 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3143, allocations: 54.23 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3144, allocations: 192 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3144, allocations: 7.938 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3144, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.3144, allocations: 19.94 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.3149, allocations: 272.5 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.315, allocations: 34.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.315, allocations: 16.8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.281e-06/0.315, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.3152, allocations: 87.41 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3152, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003252/0.3155, allocations: 105.5 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.3156, allocations: 55.41 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3157, allocations: 118.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3157, allocations: 33.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.3158, allocations: 88.12 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3158, allocations: 16 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3159, allocations: 53.62 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3161, allocations: 318.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.3163, allocations: 119.4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.3165, allocations: 151.6 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.3167, allocations: 171.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3167, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005056/0.3172, allocations: 332.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.3173, allocations: 67.39 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3173, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3173, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.191e-05/0.3173, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3173, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.3176, allocations: 56.02 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.3177, allocations: 19.98 kB / 1.331 GB, free: 12.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.0001207/0.3178, allocations: 129.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.3178, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.3178, allocations: 8.375 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3178, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3179, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3179, allocations: 7.984 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.318, allocations: 117.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.318, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.318, allocations: 3.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.318, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.318, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.318, allocations: 96 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.318, allocations: 3.938 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.3182, allocations: 117 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.3182, allocations: 11.95 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3182, allocations: 3.984 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.3182, allocations: 4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.3182, allocations: 7.984 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3183, allocations: 8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.3183, allocations: 87.28 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3183, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002348/0.3186, allocations: 31.98 kB / 1.332 GB, free: 11.63 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.0001378/0.3187, allocations: 103.2 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.3191, allocations: 282.3 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3191, allocations: 4.062 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.3192, allocations: 24.31 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.3194, allocations: 26.25 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.3198, allocations: 183.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.612e-05/0.3198, allocations: 67.34 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.3199, allocations: 11.44 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3199, allocations: 4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of Templates: time 0.003309/0.3232, allocations: 1.401 MB / 1.334 GB, free: 9.449 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/jenkins1/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: 10.986088830046356]