Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001558/0.001558, allocations: 102.7 kB / 15.99 MB, free: 5.891 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.001553/0.001553, allocations: 192.7 kB / 16.91 MB, free: 5.746 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 469.8 MB / 0.7427 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002643, allocations: 68.69 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3349, allocations: 159.2 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003434/0.3383, allocations: 1.889 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.34, allocations: 0.9359 MB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.3401, allocations: 4 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3403, allocations: 27.78 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.3407, allocations: 91.67 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.3411, allocations: 148.9 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.3414, allocations: 239.4 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3415, allocations: 33.67 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3417, allocations: 115.7 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02716/0.3689, allocations: 1.652 MB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.369, allocations: 16 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.3691, allocations: 36 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.3692, allocations: 43.83 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.3694, allocations: 99.5 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.3697, allocations: 143.8 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3697, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3697, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3697, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8262 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.0009328/0.3706, allocations: 0.5527 MB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3707, allocations: 12.03 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.547e-05/0.3708, allocations: 24.66 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3711, allocations: 247.5 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3711, allocations: 12 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.3712, allocations: 12 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.3715, allocations: 109.8 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3715, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3715, allocations: 4 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.3715, allocations: 7.984 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3717, allocations: 63.89 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.3726, allocations: 0.5396 MB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.3728, allocations: 97.12 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.3729, allocations: 41.77 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3729, allocations: 192 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.3731, allocations: 139.8 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.3732, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0004579/0.3736, allocations: 155.2 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.3737, allocations: 89.05 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.374, allocations: 200.3 kB / 1.072 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.374, allocations: 29.7 kB / 1.072 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3741, allocations: 136.5 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.3742, allocations: 31.55 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3743, allocations: 61.67 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3745, allocations: 326.8 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.3746, allocations: 27.98 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.3749, allocations: 151.1 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.375, allocations: 105.9 kB / 1.073 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.375, allocations: 4 kB / 1.073 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002716/0.3753, allocations: 159.9 kB / 1.073 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3753, allocations: 5.719 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3754, allocations: 4 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3754, allocations: 0 / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/0.3755, allocations: 12 kB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3755, allocations: 11.92 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3757, allocations: 31.98 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.3758, allocations: 8 kB / 1.073 GB, free: 5.879 MB / 0.8262 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.0001555/0.3759, allocations: 135.5 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.376, allocations: 15.81 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.376, allocations: 21.52 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.376, allocations: 4 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.376, allocations: 0 / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.376, allocations: 0 / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.3767, allocations: 474.2 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3768, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.018e-05/0.3768, allocations: 11.94 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3768, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3768, allocations: 7.984 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.3768, allocations: 7.875 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3768, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3771, allocations: 228.3 kB / 1.074 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.3772, allocations: 96.84 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.3772, allocations: 4 kB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.3774, allocations: 23.86 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.3775, allocations: 19.97 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.3775, allocations: 8 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001482/0.3777, allocations: 148.2 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3777, allocations: 4 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003369/0.378, allocations: 39.91 kB / 1.074 GB, free: 4.551 MB / 0.8262 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.0004493/0.3785, allocations: 169.8 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3788, allocations: 115.8 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3788, allocations: 0 / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3789, allocations: 47.92 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.3794, allocations: 58.44 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.3801, allocations: 373.9 kB / 1.075 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3805, allocations: 0.7281 MB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.3805, allocations: 27.42 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3805, allocations: 3.938 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of Templates: time 0.006329/0.3869, allocations: 3.208 MB / 1.079 GB, free: 15.81 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches