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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_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.001316/0.001316, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001326/0.001326, allocations: 189.9 kB / 17.2 MB, free: 5.59 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002433, allocations: 67.84 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3161, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001919/0.3181, allocations: 0.707 MB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.3198, allocations: 1.266 MB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.3198, allocations: 4 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.3199, allocations: 7.875 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.32, allocations: 15.8 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008447/0.3209, allocations: 313 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.3212, allocations: 271.6 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3213, allocations: 20.17 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3214, allocations: 99.86 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3216, allocations: 79.75 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.3216, allocations: 20 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3217, allocations: 39.98 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.3218, allocations: 11.94 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.3219, allocations: 83.8 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.3222, allocations: 215.7 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3222, allocations: 0 / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3222, allocations: 4 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3222, allocations: 0 / 1.021 GB, free: 7.48 MB / 0.795 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.0006517/0.3229, allocations: 0.4885 MB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3229, allocations: 8.922 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.323, allocations: 24.84 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3231, allocations: 172.3 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3232, allocations: 4.375 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.3232, allocations: 20.36 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3233, allocations: 58.22 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3234, allocations: 7.938 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3234, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3234, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.3234, allocations: 23.98 kB / 1.022 GB, free: 6.57 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.324, allocations: 420.4 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.3241, allocations: 30.56 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.3241, allocations: 20.86 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3242, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.3244, allocations: 107.3 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3244, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0003189/0.3247, allocations: 141.4 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3247, allocations: 51.41 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.3249, allocations: 133.8 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.3249, allocations: 37.69 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.325, allocations: 100.1 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.325, allocations: 15.81 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3252, allocations: 65.67 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3253, allocations: 326.8 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.3255, allocations: 87.94 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.3257, allocations: 138 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.326, allocations: 240.8 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.326, allocations: 0 / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006023/0.3266, allocations: 370.5 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.3267, allocations: 105.1 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3267, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3268, allocations: 4 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.447e-05/0.3268, allocations: 3.938 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3268, allocations: 4.188 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.3273, allocations: 91.67 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.3274, allocations: 19.98 kB / 1.024 GB, free: 3.879 MB / 0.795 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.0001497/0.3275, allocations: 125.8 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.3276, allocations: 15.84 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.3276, allocations: 16.36 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3276, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3276, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3276, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3279, allocations: 193.6 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3279, allocations: 0 / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.3279, allocations: 7.984 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3279, allocations: 0 / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3279, allocations: 4 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.3279, allocations: 4 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3279, allocations: 4.375 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.3281, allocations: 140.8 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.3282, allocations: 92.95 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3282, allocations: 0 / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.3283, allocations: 0 / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.3283, allocations: 11.98 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3283, allocations: 4 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.958e-05/0.3284, allocations: 101 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3284, allocations: 0 / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002753/0.3287, allocations: 47.98 kB / 1.025 GB, free: 3.031 MB / 0.795 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.0001779/0.3289, allocations: 107.2 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005262/0.3294, allocations: 370 kB / 1.025 GB, free: 2.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3294, allocations: 0 / 1.025 GB, free: 2.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.3295, allocations: 44.3 kB / 1.025 GB, free: 2.477 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3298, allocations: 27.97 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.3302, allocations: 216.7 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3306, allocations: 0.6963 MB / 1.026 GB, free: 1.48 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3306, allocations: 15.38 kB / 1.026 GB, free: 1.465 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3306, allocations: 0 / 1.026 GB, free: 1.465 MB / 0.795 GB Notification: Performance of Templates: time 0.004263/0.3349, allocations: 1.885 MB / 1.028 GB, free: 15.61 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches