Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 106.9 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.00165, allocations: 193 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.22 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2981, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001971/0.3001, allocations: 0.769 MB / 0.9505 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.3017, allocations: 1.257 MB / 0.9518 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.3017, allocations: 0 / 0.9518 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.3018, allocations: 3.984 kB / 0.9518 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.194e-05/0.3019, allocations: 15.86 kB / 0.9518 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.3027, allocations: 287 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.303, allocations: 271.6 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3031, allocations: 24.11 kB / 0.9523 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3033, allocations: 103.8 kB / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3034, allocations: 75.77 kB / 0.9525 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.267e-05/0.3035, allocations: 24 kB / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3036, allocations: 35.98 kB / 0.9526 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.528e-05/0.3036, allocations: 15.92 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3037, allocations: 83.8 kB / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3039, allocations: 155.9 kB / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3039, allocations: 0 / 0.9528 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3039, allocations: 4 kB / 0.9528 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3039, allocations: 0 / 0.9528 GB, free: 6.074 MB / 0.7325 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.0005883/0.3045, allocations: 496.3 kB / 0.9533 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3046, allocations: 12.03 kB / 0.9533 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.3047, allocations: 12.84 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3048, allocations: 180.2 kB / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3048, allocations: 12.38 kB / 0.9535 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.3049, allocations: 12.38 kB / 0.9535 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.305, allocations: 58.23 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.305, allocations: 7.938 kB / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.305, allocations: 0 / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.305, allocations: 0 / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/0.3051, allocations: 23.98 kB / 0.9536 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.3057, allocations: 420.4 kB / 0.954 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.926e-05/0.3057, allocations: 30.58 kB / 0.954 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.3058, allocations: 24.94 kB / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3058, allocations: 3.984 kB / 0.9541 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.306, allocations: 107.2 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.306, allocations: 0 / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0002858/0.3063, allocations: 137.8 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3063, allocations: 55.41 kB / 0.9543 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3064, allocations: 135.8 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.3065, allocations: 33.8 kB / 0.9545 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3066, allocations: 99.98 kB / 0.9546 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3066, allocations: 19.8 kB / 0.9546 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3067, allocations: 65.67 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3069, allocations: 326.8 kB / 0.955 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3071, allocations: 83.95 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.3073, allocations: 145.9 kB / 0.9552 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.3076, allocations: 238.6 kB / 0.9554 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3076, allocations: 0 / 0.9554 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005884/0.3082, allocations: 366.5 kB / 0.9558 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.3083, allocations: 97.09 kB / 0.9559 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3083, allocations: 4 kB / 0.9559 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3083, allocations: 0 / 0.9559 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.987e-05/0.3083, allocations: 15.92 kB / 0.9559 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3084, allocations: 4.188 kB / 0.9559 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.3089, allocations: 83.75 kB / 0.956 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.309, allocations: 23.98 kB / 0.956 GB, free: 2.473 MB / 0.7325 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.0001329/0.3091, allocations: 130.6 kB / 0.9561 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.3091, allocations: 11.91 kB / 0.9561 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.3092, allocations: 12.31 kB / 0.9562 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3092, allocations: 4 kB / 0.9562 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3092, allocations: 3.938 kB / 0.9562 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3092, allocations: 0 / 0.9562 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3094, allocations: 197.5 kB / 0.9564 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3094, allocations: 0 / 0.9564 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.3094, allocations: 0 / 0.9564 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3094, allocations: 4 kB / 0.9564 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3094, allocations: 0 / 0.9564 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3094, allocations: 0 / 0.9564 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3094, allocations: 7.984 kB / 0.9564 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.3096, allocations: 140.8 kB / 0.9565 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.3097, allocations: 84.95 kB / 0.9566 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3097, allocations: 11.98 kB / 0.9566 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.3097, allocations: 0 / 0.9566 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.3098, allocations: 11.98 kB / 0.9566 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3098, allocations: 4 kB / 0.9566 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.3098, allocations: 99.27 kB / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3099, allocations: 0 / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002771/0.3101, allocations: 44 kB / 0.9567 GB, free: 1.625 MB / 0.7325 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.0001879/0.3103, allocations: 107.2 kB / 0.9568 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004882/0.3108, allocations: 369.9 kB / 0.9572 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3108, allocations: 0 / 0.9572 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.3109, allocations: 48.3 kB / 0.9572 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3112, allocations: 25.56 kB / 0.9573 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.3116, allocations: 232.6 kB / 0.9575 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3119, allocations: 0.6961 MB / 0.9582 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.312, allocations: 15.44 kB / 0.9582 GB, free: 44 kB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.312, allocations: 0 / 0.9582 GB, free: 44 kB / 0.7325 GB Notification: Performance of Templates: time 0.003895/0.3159, allocations: 1.876 MB / 0.96 GB, free: 14.18 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches