Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.665/2.665, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6716, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00347/0.6751, allocations: 1.723 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.6767, allocations: 0.8929 MB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.6769, allocations: 8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.6771, allocations: 27.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.6775, allocations: 115.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.6779, allocations: 158.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.6782, allocations: 235.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.6783, allocations: 41.59 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.6785, allocations: 107.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.6887, allocations: 1.688 MB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.6888, allocations: 16 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.6889, allocations: 44 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.689, allocations: 43.81 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.6891, allocations: 87.58 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.6895, allocations: 215.3 kB / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6895, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.955e-06/0.6895, allocations: 0 / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.6895, allocations: 7.938 kB / 1.023 GB, free: 13.52 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008386/0.6904, allocations: 0.5504 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.6904, allocations: 8.031 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.6905, allocations: 20.75 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.6908, allocations: 247.5 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.6908, allocations: 11.94 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.6909, allocations: 16 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.691, allocations: 93.64 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.6911, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.6911, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.6911, allocations: 3.938 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.6912, allocations: 59.97 kB / 1.024 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.692, allocations: 464.3 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.6924, allocations: 142.7 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.6925, allocations: 32.86 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.6925, allocations: 7.922 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.6928, allocations: 119 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.6928, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003374/0.6932, allocations: 161.4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.6932, allocations: 63.34 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.6934, allocations: 196.3 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.6934, allocations: 33.7 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.6935, allocations: 120.4 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.6936, allocations: 39.59 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.6937, allocations: 57.67 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6938, allocations: 326.8 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.6939, allocations: 39.98 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.6941, allocations: 124.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6942, allocations: 100.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6943, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002357/0.6945, allocations: 156.2 kB / 1.026 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6945, allocations: 8.125 kB / 1.026 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6945, allocations: 4 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6946, allocations: 0 / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.6946, allocations: 23.92 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6946, allocations: 4 kB / 1.026 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.6949, allocations: 23.83 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.6949, allocations: 8 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001222/0.695, allocations: 141 kB / 1.026 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.6951, allocations: 23.8 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.6951, allocations: 17.88 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6951, allocations: 4 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6951, allocations: 0 / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.6951, allocations: 0 / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.6958, allocations: 498.1 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6958, allocations: 4 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.6958, allocations: 4 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6958, allocations: 3.938 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6958, allocations: 4 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.6958, allocations: 7.875 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6958, allocations: 7.984 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.6961, allocations: 223.2 kB / 1.027 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.6961, allocations: 100.8 kB / 1.027 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.6962, allocations: 8 kB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.6963, allocations: 15.92 kB / 1.027 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.6964, allocations: 19.97 kB / 1.027 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.6964, allocations: 8 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001173/0.6965, allocations: 143.3 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6965, allocations: 0 / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003014/0.6968, allocations: 48 kB / 1.027 GB, free: 8.688 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003058/0.6972, allocations: 168.1 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.6974, allocations: 115.8 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6974, allocations: 0 / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.435e-05/0.6975, allocations: 51.92 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.6979, allocations: 64.72 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006269/0.6986, allocations: 303.6 kB / 1.028 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.6988, allocations: 0.7318 MB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.097e-05/0.6989, allocations: 25.53 kB / 1.028 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.699, allocations: 19.44 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.699, allocations: 0 / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of Templates: time 0.007106/0.7061, allocations: 3.732 MB / 1.032 GB, free: 3.488 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches