Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001437/0.001437, allocations: 193.1 kB / 16.14 MB, free: 6.676 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.514/1.514, allocations: 222.9 MB / 239.8 MB, free: 4.52 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.753/2.753, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.89 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6264, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003729/0.6302, allocations: 1.885 MB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.6321, allocations: 0.9514 MB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.495e-05/0.6322, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.6324, allocations: 23.8 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.6328, allocations: 91.66 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.6332, allocations: 139.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.6335, allocations: 231.4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.6337, allocations: 41.66 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.6338, allocations: 103.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02821/0.662, allocations: 1.529 MB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.193e-05/0.6622, allocations: 12 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.6623, allocations: 31.98 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.788e-05/0.6624, allocations: 39.83 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.6626, allocations: 83.56 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.6629, allocations: 199.3 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.6629, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6629, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.6629, allocations: 4 kB / 1.022 GB, free: 13.88 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009544/0.6639, allocations: 0.545 MB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.6639, allocations: 8.031 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.798e-05/0.664, allocations: 24.69 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.6644, allocations: 247.4 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.6644, allocations: 12 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.6644, allocations: 16 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.6647, allocations: 113.1 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6647, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.6647, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.6647, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.6649, allocations: 63.84 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000978/0.6659, allocations: 0.5512 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.6661, allocations: 97.12 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.6662, allocations: 37.77 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.6662, allocations: 192 / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.6664, allocations: 125 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.6664, allocations: 0 / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.000394/0.6668, allocations: 163.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.6669, allocations: 81.11 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.6671, allocations: 203.3 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.6672, allocations: 33.7 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.6673, allocations: 132.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.6673, allocations: 27.66 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.6675, allocations: 57.67 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6676, allocations: 331 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.6677, allocations: 35.98 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.668, allocations: 138 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.6682, allocations: 109.9 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6682, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002973/0.6685, allocations: 168.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6685, allocations: 12.16 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6685, allocations: 3.984 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6686, allocations: 4 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/0.6687, allocations: 20.09 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.6687, allocations: 3.938 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.6689, allocations: 27.81 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.6689, allocations: 15.98 kB / 1.025 GB, free: 10.18 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: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.0001551/0.6691, allocations: 135.5 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.6691, allocations: 19.81 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.6692, allocations: 21.52 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6692, allocations: 4 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6692, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6692, allocations: 0 / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.67, allocations: 466.2 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.67, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.67, allocations: 11.94 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.67, allocations: 0 / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.6701, allocations: 7.984 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6701, allocations: 3.938 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6701, allocations: 0 / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.6704, allocations: 228.1 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.6705, allocations: 92.91 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.6705, allocations: 12 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6706, allocations: 15.92 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.6707, allocations: 23.91 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.6708, allocations: 4 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001547/0.6709, allocations: 148.2 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6709, allocations: 0 / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000336/0.6713, allocations: 51.84 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004591/0.6717, allocations: 175.4 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.672, allocations: 99.83 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.672, allocations: 0 / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.6722, allocations: 55.17 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.6726, allocations: 57.5 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.6734, allocations: 354.3 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.6739, allocations: 0.7245 MB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.117e-05/0.674, allocations: 21.53 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.674, allocations: 23.42 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.674, allocations: 4 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.008526/0.6826, allocations: 3.417 MB / 1.031 GB, free: 3.945 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches