Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002683/0.002683, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.525/1.525, allocations: 222.9 MB / 239.9 MB, free: 4.457 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.949/2.949, allocations: 469.8 MB / 0.742 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.09 kB / 0.908 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004245/0.3466, allocations: 1.897 MB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.3487, allocations: 0.9321 MB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.3488, allocations: 7.938 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.3491, allocations: 19.84 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.3496, allocations: 91.67 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.3501, allocations: 150.4 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.3505, allocations: 247.3 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3506, allocations: 25.69 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3508, allocations: 115.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03471/0.3855, allocations: 2.015 MB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/0.3857, allocations: 16 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3858, allocations: 39.98 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.3859, allocations: 43.83 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.386, allocations: 95.52 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.3865, allocations: 211.4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3865, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3865, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3865, allocations: 0 / 1.069 GB, free: 9.242 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009406/0.3875, allocations: 0.5488 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3875, allocations: 12.03 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.3876, allocations: 20.75 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.3879, allocations: 247.4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.388, allocations: 12 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.388, allocations: 11.98 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.3882, allocations: 91.2 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3882, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3883, allocations: 7.938 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3883, allocations: 7.938 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.3884, allocations: 55.86 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009659/0.3894, allocations: 464.4 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.3899, allocations: 142.7 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.39, allocations: 36.84 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3901, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.3903, allocations: 119.2 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.3903, allocations: 3.938 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005271/0.3909, allocations: 157.5 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.3909, allocations: 63.33 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.3913, allocations: 192.3 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.3914, allocations: 33.7 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3916, allocations: 124.5 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3916, allocations: 35.55 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3918, allocations: 61.67 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002448/0.392, allocations: 326.8 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.3921, allocations: 35.97 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.3924, allocations: 129.6 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.3925, allocations: 100.2 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3925, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000285/0.3928, allocations: 149.3 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3929, allocations: 14.59 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3929, allocations: 4.125 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.3929, allocations: 4 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.393, allocations: 11.98 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.393, allocations: 4 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3932, allocations: 31.77 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3932, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 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.0001795/0.3934, allocations: 147.5 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.3935, allocations: 19.81 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.3935, allocations: 21.86 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3935, allocations: 4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3936, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3936, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007936/0.3944, allocations: 498 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3944, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.3944, allocations: 15.92 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3944, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3944, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3945, allocations: 11.88 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3945, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.3948, allocations: 233.7 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.3948, allocations: 88.92 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3949, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.395, allocations: 23.92 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.3951, allocations: 19.97 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3952, allocations: 11.98 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001451/0.3953, allocations: 140.2 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3953, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003416/0.3957, allocations: 47.92 kB / 1.074 GB, free: 4.402 MB / 0.8262 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.0004436/0.3961, allocations: 174.2 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3964, allocations: 107.6 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.3964, allocations: 4 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3965, allocations: 55.86 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.397, allocations: 51.64 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.3977, allocations: 343.2 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.3982, allocations: 0.7281 MB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.307e-05/0.3982, allocations: 21.53 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.3983, allocations: 23.42 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3983, allocations: 0 / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of Templates: time 0.00859/0.4069, allocations: 3.584 MB / 1.079 GB, free: 15.32 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches