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.001878/0.001878, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002314/0.002314, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.631/1.631, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.834/2.834, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.88 kB / 0.8688 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.9316, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.00261/0.9343, allocations: 0.7847 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.9364, allocations: 1.257 MB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.9364, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.824e-05/0.9365, allocations: 3.938 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.9366, allocations: 7.922 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.9376, allocations: 292 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.9379, allocations: 283.5 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.9381, allocations: 16.17 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.9382, allocations: 99.86 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.9384, allocations: 75.77 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.9385, allocations: 20 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.9386, allocations: 35.98 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.9386, allocations: 19.92 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.9388, allocations: 87.8 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.9392, allocations: 213.4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.9392, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.256e-06/0.9392, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.9392, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 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.0009569/0.9402, allocations: 496.2 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.9402, allocations: 11.97 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.9403, allocations: 20.83 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.9406, allocations: 176.2 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.9406, allocations: 12.38 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.9407, allocations: 12.38 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.9409, allocations: 62.22 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.9409, allocations: 3.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.9409, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.9409, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/0.941, allocations: 20 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008259/0.9418, allocations: 424.4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.9419, allocations: 30.56 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.942, allocations: 16.86 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.942, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.9423, allocations: 107.3 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.9423, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003895/0.9427, allocations: 137.5 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.9428, allocations: 55.48 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.9429, allocations: 139.9 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.943, allocations: 33.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.9431, allocations: 104 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.9432, allocations: 15.81 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.9433, allocations: 65.67 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.9436, allocations: 326.8 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.9438, allocations: 87.95 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.9441, allocations: 137.3 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.9444, allocations: 240.1 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9444, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007007/0.9451, allocations: 374.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.9452, allocations: 97.08 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.9453, allocations: 4.188 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.9453, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.9453, allocations: 11.94 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9454, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005609/0.9459, allocations: 83.73 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.946, allocations: 19.98 kB / 1.023 GB, free: 11.97 MB / 0.7794 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.0001653/0.9462, allocations: 140.2 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.9462, allocations: 7.906 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.9462, allocations: 16.36 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.9462, allocations: 384 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9463, allocations: 3.984 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.9463, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.9465, allocations: 193.6 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9465, allocations: 3.938 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.9465, allocations: 11.98 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9466, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.9466, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9466, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9466, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.9468, allocations: 136.9 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.9469, allocations: 85.02 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.9469, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.947, allocations: 4 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.947, allocations: 11.98 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.9471, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.9472, allocations: 95.27 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9472, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002906/0.9475, allocations: 47.98 kB / 1.024 GB, free: 11.12 MB / 0.7794 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.0002699/0.9477, allocations: 107.2 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006202/0.9484, allocations: 370 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9484, allocations: 0 / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.749e-05/0.9485, allocations: 43.91 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.9488, allocations: 17.53 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.9494, allocations: 215.2 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.9498, allocations: 0.6962 MB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.9499, allocations: 12.42 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.9499, allocations: 11.44 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.9499, allocations: 0 / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.007358/0.9573, allocations: 2.612 MB / 1.028 GB, free: 6.992 MB / 0.7794 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/jenkins/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