Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008305/0.008305, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.831/2.831, allocations: 462.6 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 15.92 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3237, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002548/0.3263, allocations: 1.541 MB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3282, allocations: 0.9435 MB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.3283, allocations: 0 / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.3286, allocations: 23.8 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.329, allocations: 95.64 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3293, allocations: 135.8 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3297, allocations: 231.3 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3298, allocations: 37.66 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.33, allocations: 99.67 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0519/0.3819, allocations: 3.57 MB / 1.065 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.382, allocations: 8 kB / 1.065 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.3822, allocations: 35.92 kB / 1.065 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.3822, allocations: 27.91 kB / 1.065 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.3824, allocations: 117.2 kB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3827, allocations: 203.2 kB / 1.066 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3827, allocations: 0 / 1.066 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3827, allocations: 0 / 1.066 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3827, allocations: 0 / 1.066 GB, free: 15.3 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.0008056/0.3835, allocations: 0.5178 MB / 1.066 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3836, allocations: 12.03 kB / 1.066 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.3836, allocations: 16.75 kB / 1.066 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.3839, allocations: 248.6 kB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.384, allocations: 12 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.384, allocations: 16 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3842, allocations: 113.2 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3842, allocations: 0 / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3842, allocations: 4 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3843, allocations: 0 / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.3844, allocations: 62.41 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.3853, allocations: 0.5474 MB / 1.067 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.3855, allocations: 101.1 kB / 1.067 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.3856, allocations: 41.77 kB / 1.067 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3856, allocations: 3.984 kB / 1.067 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.3858, allocations: 133.1 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.3858, allocations: 3.938 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.000643/0.3865, allocations: 162.6 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.3865, allocations: 81.11 kB / 1.068 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.3868, allocations: 200.3 kB / 1.068 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.3868, allocations: 33.7 kB / 1.068 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.3869, allocations: 120.5 kB / 1.068 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.387, allocations: 39.55 kB / 1.068 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.387, allocations: 33.83 kB / 1.068 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3871, allocations: 322.8 kB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.3872, allocations: 31.98 kB / 1.068 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.3874, allocations: 143.3 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3876, allocations: 111.2 kB / 1.069 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3876, allocations: 0 / 1.069 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002446/0.3878, allocations: 165.3 kB / 1.069 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3879, allocations: 4 kB / 1.069 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.3879, allocations: 11.97 kB / 1.069 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3879, allocations: 4 kB / 1.069 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.388, allocations: 12 kB / 1.069 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.388, allocations: 3.938 kB / 1.069 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.3882, allocations: 39.77 kB / 1.069 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3883, allocations: 12.14 kB / 1.069 GB, free: 11.67 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.0001249/0.3884, allocations: 137.1 kB / 1.069 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.3884, allocations: 19.72 kB / 1.069 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.3885, allocations: 21.52 kB / 1.069 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3885, allocations: 4 kB / 1.069 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3885, allocations: 0 / 1.069 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3885, allocations: 0 / 1.069 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.3891, allocations: 483.7 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3891, allocations: 0 / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.3891, allocations: 7.938 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3891, allocations: 0 / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3892, allocations: 8 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3892, allocations: 3.938 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3892, allocations: 4 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.3894, allocations: 224.2 kB / 1.07 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.3894, allocations: 96.84 kB / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3895, allocations: 4 kB / 1.07 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3896, allocations: 23.92 kB / 1.07 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.3897, allocations: 27.91 kB / 1.07 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.3897, allocations: 4 kB / 1.07 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001114/0.3898, allocations: 148.2 kB / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3898, allocations: 0 / 1.07 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003093/0.3902, allocations: 47.98 kB / 1.07 GB, free: 10.33 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.000339/0.3905, allocations: 167.4 kB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3907, allocations: 100 kB / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3907, allocations: 4.125 kB / 1.07 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/0.3908, allocations: 51.92 kB / 1.07 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3913, allocations: 43.95 kB / 1.07 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.3918, allocations: 347.3 kB / 1.071 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3921, allocations: 0.7286 MB / 1.071 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.327e-05/0.3922, allocations: 21.62 kB / 1.071 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.3923, allocations: 23.42 kB / 1.071 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3923, allocations: 0 / 1.071 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.008488/0.4008, allocations: 3.405 MB / 1.075 GB, free: 5.453 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches