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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001801/0.0018, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.001995/0.001995, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.23 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2995, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002013/0.3015, allocations: 0.7057 MB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3032, allocations: 1.271 MB / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.3032, allocations: 0 / 0.9531 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.3033, allocations: 3.938 kB / 0.9531 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.3034, allocations: 19.86 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.3042, allocations: 310.5 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3045, allocations: 275.6 kB / 0.9537 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3046, allocations: 16.12 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3048, allocations: 95.86 kB / 0.9538 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3049, allocations: 99.72 kB / 0.9539 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.305, allocations: 24 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3051, allocations: 32 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.3051, allocations: 15.98 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3053, allocations: 87.73 kB / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.3055, allocations: 227.3 kB / 0.9542 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3055, allocations: 0 / 0.9542 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3055, allocations: 0 / 0.9542 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3056, allocations: 0 / 0.9542 GB, free: 4.887 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.0005975/0.3062, allocations: 492.3 kB / 0.9547 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3062, allocations: 16.02 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.3063, allocations: 12.84 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3064, allocations: 168.3 kB / 0.9549 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3064, allocations: 16.38 kB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.3065, allocations: 12.38 kB / 0.9549 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.3066, allocations: 62.22 kB / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3066, allocations: 3.938 kB / 0.955 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3066, allocations: 3.938 kB / 0.955 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3067, allocations: 3.984 kB / 0.955 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.309e-05/0.3067, allocations: 20 kB / 0.955 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.3073, allocations: 416.4 kB / 0.9554 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/0.3074, allocations: 42.56 kB / 0.9554 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.3074, allocations: 20.8 kB / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3074, allocations: 0 / 0.9555 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.3076, allocations: 103.3 kB / 0.9556 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 3.958e-06/0.3076, allocations: 0 / 0.9556 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003087/0.3079, allocations: 141.4 kB / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.308, allocations: 59.41 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.3081, allocations: 132.8 kB / 0.9559 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3081, allocations: 29.7 kB / 0.9559 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.3082, allocations: 104 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3082, allocations: 19.88 kB / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3084, allocations: 65.67 kB / 0.9561 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3085, allocations: 330.7 kB / 0.9564 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.3087, allocations: 83.95 kB / 0.9565 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.3089, allocations: 138 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.3092, allocations: 231 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.3092, allocations: 4 kB / 0.9568 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005687/0.3098, allocations: 374.4 kB / 0.9572 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.3099, allocations: 101.1 kB / 0.9573 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3099, allocations: 4 kB / 0.9573 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3099, allocations: 192 / 0.9573 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.551e-05/0.3099, allocations: 8 kB / 0.9573 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.31, allocations: 4 kB / 0.9573 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.3104, allocations: 79.75 kB / 0.9574 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.3105, allocations: 19.98 kB / 0.9574 GB, free: 1.297 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.000128/0.3106, allocations: 141.7 kB / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.3106, allocations: 7.906 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.3107, allocations: 8.375 kB / 0.9576 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3107, allocations: 4 kB / 0.9576 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3107, allocations: 0 / 0.9576 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3107, allocations: 0 / 0.9576 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3108, allocations: 193.5 kB / 0.9577 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3109, allocations: 384 / 0.9577 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/0.3109, allocations: 0 / 0.9577 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3109, allocations: 4 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3109, allocations: 8 kB / 0.9578 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3109, allocations: 3.938 kB / 0.9578 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3109, allocations: 7.922 kB / 0.9578 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.3111, allocations: 133 kB / 0.9579 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.3111, allocations: 84.95 kB / 0.958 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3112, allocations: 11.92 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.3112, allocations: 7.938 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3112, allocations: 11.98 kB / 0.958 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.3113, allocations: 4 kB / 0.958 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.3113, allocations: 99.27 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3113, allocations: 0 / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002598/0.3116, allocations: 44 kB / 0.9581 GB, free: 452 kB / 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.0001709/0.3118, allocations: 103.2 kB / 0.9582 GB, free: 336 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.3123, allocations: 362.2 kB / 0.9586 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3123, allocations: 4.125 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.3123, allocations: 39.98 kB / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.3126, allocations: 29.94 kB / 0.9587 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.313, allocations: 199.2 kB / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3133, allocations: 0.7 MB / 0.9595 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.3134, allocations: 8.375 kB / 0.9595 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.3134, allocations: 11.44 kB / 0.9595 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.3134, allocations: 0 / 0.9595 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of Templates: time 0.005499/0.3189, allocations: 2.624 MB / 0.9621 GB, free: 12.3 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 -s gbode -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