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.001387/0.001388, allocations: 107.8 kB / 16.27 MB, free: 5.984 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.001358/0.001358, allocations: 189 kB / 17.2 MB, free: 5.609 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.392/1.392, 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.479/2.479, allocations: 437 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 68.06 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2799, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002079/0.282, allocations: 0.7184 MB / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2836, allocations: 1.255 MB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.2836, allocations: 4 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.2837, allocations: 7.875 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.2838, allocations: 19.78 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.2847, allocations: 306.9 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.285, allocations: 271.7 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.2851, allocations: 20.16 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.2852, allocations: 103.8 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.2854, allocations: 75.77 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.2854, allocations: 20 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2855, allocations: 39.98 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.2856, allocations: 11.94 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2857, allocations: 91.78 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.2859, allocations: 215.7 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2859, allocations: 0 / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2859, allocations: 0 / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.286, allocations: 0 / 1.021 GB, free: 7.512 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.0005766/0.2865, allocations: 497.9 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2866, allocations: 8.922 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.2867, allocations: 20.84 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2868, allocations: 179.6 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2868, allocations: 12.36 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.2869, allocations: 16.38 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.287, allocations: 54.23 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.287, allocations: 3.938 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.287, allocations: 0 / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.287, allocations: 0 / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.2871, allocations: 23.98 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.2876, allocations: 428.4 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.2877, allocations: 26.58 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.2877, allocations: 20.94 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.2878, allocations: 0 / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.2879, allocations: 111.1 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.2879, allocations: 0 / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0002848/0.2882, allocations: 137.5 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.2883, allocations: 55.48 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.2884, allocations: 129.8 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.2884, allocations: 33.7 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.2885, allocations: 100 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.2885, allocations: 19.8 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2886, allocations: 65.67 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2888, allocations: 326.8 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.289, allocations: 87.95 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2892, allocations: 134 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2894, allocations: 239 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2894, allocations: 0 / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005679/0.29, allocations: 374.4 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/0.2901, allocations: 97.09 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2901, allocations: 8.188 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2901, allocations: 4 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.593e-05/0.2901, allocations: 7.938 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2902, allocations: 7.984 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.2907, allocations: 83.69 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.2907, allocations: 19.98 kB / 1.024 GB, free: 3.914 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.0001113/0.2909, allocations: 134.6 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.2909, allocations: 7.906 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.2909, allocations: 12.38 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2909, allocations: 0 / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2909, allocations: 4.312 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2909, allocations: 0 / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2911, allocations: 193.6 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2911, allocations: 0 / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.2911, allocations: 11.94 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2911, allocations: 0 / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2911, allocations: 0 / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2911, allocations: 4 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2911, allocations: 3.984 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.2913, allocations: 136.9 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.2914, allocations: 88.95 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2914, allocations: 4 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.2914, allocations: 7.984 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.2915, allocations: 8 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.2915, allocations: 7.984 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.2915, allocations: 95.27 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.2915, allocations: 0 / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002652/0.2918, allocations: 44 kB / 1.025 GB, free: 3.07 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.0001465/0.292, allocations: 107.2 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.2924, allocations: 374 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2924, allocations: 0 / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.2925, allocations: 51.89 kB / 1.025 GB, free: 2.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.2928, allocations: 24.2 kB / 1.025 GB, free: 2.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.2932, allocations: 225 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2934, allocations: 0.6924 MB / 1.026 GB, free: 1.508 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.2934, allocations: 11.44 kB / 1.026 GB, free: 1.496 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.2935, allocations: 0 / 1.026 GB, free: 1.496 MB / 0.795 GB Notification: Performance of Templates: time 0.003585/0.297, allocations: 1.882 MB / 1.028 GB, free: 15.64 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 -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