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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001092/0.001092, allocations: 107.8 kB / 16.36 MB, free: 6.285 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.001032/0.001032, allocations: 193.2 kB / 17.29 MB, free: 5.863 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 64.53 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3235, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002064/0.3256, allocations: 0.7065 MB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3272, allocations: 1.262 MB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.3272, allocations: 0 / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.3273, allocations: 3.938 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.3274, allocations: 19.86 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008038/0.3282, allocations: 320.5 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000313/0.3285, allocations: 279.6 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3286, allocations: 8.188 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3287, allocations: 99.84 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.3289, allocations: 99.67 kB / 1.022 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.3289, allocations: 24 kB / 1.022 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.329, allocations: 31.98 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.3291, allocations: 19.94 kB / 1.022 GB, free: 7.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3292, allocations: 79.8 kB / 1.022 GB, free: 6.926 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3294, allocations: 231.3 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3295, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3295, allocations: 0 / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.3295, allocations: 0 / 1.022 GB, free: 6.699 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.0006232/0.3301, allocations: 496.2 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3302, allocations: 12.92 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.3302, allocations: 12.84 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3303, allocations: 172.3 kB / 1.023 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3304, allocations: 12.38 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.3304, allocations: 16.36 kB / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3305, allocations: 58.23 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3306, allocations: 3.938 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3306, allocations: 0 / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3306, allocations: 3.938 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.3306, allocations: 23.98 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.3312, allocations: 416.4 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.337e-05/0.3313, allocations: 34.56 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3313, allocations: 20.8 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-06/0.3313, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.3315, allocations: 103.4 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.3315, allocations: 0 / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0002947/0.3318, allocations: 149.4 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3319, allocations: 55.41 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.332, allocations: 133.2 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.332, allocations: 41.69 kB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.3321, allocations: 96.05 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.3321, allocations: 15.81 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.3323, allocations: 65.67 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3324, allocations: 322.8 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3326, allocations: 99.88 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.3328, allocations: 137.9 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.333, allocations: 224.8 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3331, allocations: 4 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005549/0.3336, allocations: 382.2 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.3337, allocations: 101.1 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.3337, allocations: 4.188 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3337, allocations: 4 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/0.3338, allocations: 4 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3338, allocations: 8 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.3342, allocations: 79.75 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.3343, allocations: 19.98 kB / 1.025 GB, free: 3.105 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.0001095/0.3344, allocations: 141.7 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.3344, allocations: 7.906 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.3345, allocations: 8.375 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3345, allocations: 0 / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3345, allocations: 4 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3345, allocations: 0 / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3346, allocations: 189.6 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3346, allocations: 0 / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.3347, allocations: 4 kB / 1.025 GB, free: 2.695 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3347, allocations: 4 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3347, allocations: 7.984 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3347, allocations: 0 / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3347, allocations: 3.938 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3349, allocations: 133.3 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3349, allocations: 85.05 kB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.3349, allocations: 11.92 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.335, allocations: 11.94 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.335, allocations: 7.984 kB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.335, allocations: 8 kB / 1.026 GB, free: 2.391 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.025e-05/0.3351, allocations: 95.27 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3351, allocations: 0 / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002557/0.3353, allocations: 44 kB / 1.026 GB, free: 2.254 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.0001639/0.3355, allocations: 107.2 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.336, allocations: 369.9 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.336, allocations: 0 / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.336, allocations: 39.98 kB / 1.026 GB, free: 1.703 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3363, allocations: 19.98 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.3367, allocations: 202.8 kB / 1.026 GB, free: 1.453 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.3369, allocations: 0.6966 MB / 1.027 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.337, allocations: 4.438 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.337, allocations: 15.42 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.337, allocations: 0 / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of Templates: time 0.005332/0.3423, allocations: 2.626 MB / 1.03 GB, free: 14.12 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=480 -s cvode -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