Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 110.1 kB / 15.99 MB, free: 6.355 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.001248/0.001248, allocations: 191.2 kB / 16.91 MB, free: 6.191 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.423/2.423, allocations: 437 MB / 0.7107 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.81 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2799, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00231/0.2823, allocations: 0.8095 MB / 1.018 GB, free: 10.19 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.2838, allocations: 1.152 MB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.2839, allocations: 4 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.2839, allocations: 3.938 kB / 1.019 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.2841, allocations: 11.92 kB / 1.019 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.2847, allocations: 116 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.2849, allocations: 119.8 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.285, allocations: 27.88 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2851, allocations: 43.91 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.2852, allocations: 47.81 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.2852, allocations: 8 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.2853, allocations: 27.92 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.2854, allocations: 8 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.2854, allocations: 43.84 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.2856, allocations: 79.83 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2856, allocations: 0 / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2856, allocations: 4 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.2856, allocations: 0 / 1.02 GB, free: 8.492 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.0006491/0.2863, allocations: 409.3 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2863, allocations: 15.97 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.2864, allocations: 12.78 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2865, allocations: 176.2 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2866, allocations: 4.375 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.2866, allocations: 8.375 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2868, allocations: 66.22 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2868, allocations: 192 / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2868, allocations: 7.938 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2868, allocations: 0 / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.287, allocations: 43.89 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.2876, allocations: 332.7 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.2877, allocations: 66.48 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2879, allocations: 28.97 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.2879, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2881, allocations: 91.27 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.2881, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004415/0.2885, allocations: 149.7 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2886, allocations: 55.34 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.2887, allocations: 121.8 kB / 1.021 GB, free: 6.734 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2887, allocations: 29.7 kB / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.2888, allocations: 92.12 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.2888, allocations: 15.81 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.2889, allocations: 37.7 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.289, allocations: 318.8 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.2892, allocations: 47.97 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.2894, allocations: 92.25 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.2897, allocations: 149.8 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2897, allocations: 4 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004364/0.2901, allocations: 215.1 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.2902, allocations: 33.7 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2902, allocations: 4 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2902, allocations: 0 / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2903, allocations: 11.98 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2903, allocations: 8.125 kB / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.2906, allocations: 39.8 kB / 1.022 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2906, allocations: 4 kB / 1.022 GB, free: 5.574 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001126/0.2907, allocations: 135.8 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.2907, allocations: 4 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.2908, allocations: 8.375 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2908, allocations: 4 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2908, allocations: 4 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2908, allocations: 7.922 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.2913, allocations: 378.3 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2913, allocations: 0 / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.2914, allocations: 7.984 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2914, allocations: 4 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2914, allocations: 4 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.2914, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2915, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.2918, allocations: 211.4 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.2918, allocations: 81.02 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2918, allocations: 0 / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.2919, allocations: 11.98 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.292, allocations: 11.98 kB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.292, allocations: 7.938 kB / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.2921, allocations: 91.27 kB / 1.023 GB, free: 4.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2921, allocations: 0 / 1.023 GB, free: 4.52 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002742/0.2923, allocations: 24 kB / 1.023 GB, free: 4.496 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001523/0.2925, allocations: 103.2 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.2929, allocations: 187.2 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2929, allocations: 4 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.293, allocations: 43.91 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2934, allocations: 14.28 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.2938, allocations: 197.3 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.294, allocations: 0.6904 MB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.2941, allocations: 11.44 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2941, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of Templates: time 0.00297/0.2971, allocations: 1.261 MB / 1.026 GB, free: 1.93 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches