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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 108 kB / 15.61 MB, free: 152 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.001874/0.001875, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.511/1.511, 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 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 71.77 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3537, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002971/0.3567, allocations: 1.727 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3582, allocations: 0.9007 MB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.3583, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.3585, allocations: 27.73 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.3588, allocations: 115.4 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.3591, allocations: 152.9 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.3594, allocations: 243.4 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3595, allocations: 33.67 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3597, allocations: 115.7 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01518/0.3749, allocations: 2.014 MB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.375, allocations: 20 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3751, allocations: 36 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.3752, allocations: 47.81 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3753, allocations: 87.52 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.3756, allocations: 219.3 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.3756, allocations: 0 / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3756, allocations: 0 / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3756, allocations: 0 / 1.07 GB, free: 9.055 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.0007334/0.3764, allocations: 0.545 MB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.3764, allocations: 12.03 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3765, allocations: 42.73 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.3765, allocations: 24.66 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3768, allocations: 243.4 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3768, allocations: 12 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3769, allocations: 12 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.377, allocations: 95.31 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.377, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3771, allocations: 0 / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3771, allocations: 4 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3772, allocations: 55.92 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.3779, allocations: 464.3 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.3784, allocations: 142.7 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.225e-05/0.3784, allocations: 32.84 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3785, allocations: 11.98 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.3787, allocations: 115.2 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.3787, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003113/0.379, allocations: 165.4 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3791, allocations: 55.41 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3793, allocations: 196.3 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3793, allocations: 33.7 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.3794, allocations: 116.5 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.3795, allocations: 47.42 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.3796, allocations: 53.67 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3797, allocations: 338.8 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.3798, allocations: 31.98 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.38, allocations: 123.6 kB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3802, allocations: 96.22 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3802, allocations: 4 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000246/0.3804, allocations: 151.9 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3804, allocations: 11.98 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3805, allocations: 3.984 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3805, allocations: 8.125 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.3805, allocations: 19.94 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.3805, allocations: 0 / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3808, allocations: 27.83 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3808, allocations: 7.984 kB / 1.073 GB, free: 5.52 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.0001329/0.3809, allocations: 143.5 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.381, allocations: 15.81 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.381, allocations: 21.86 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.381, allocations: 7.938 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.381, allocations: 3.938 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.381, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.3817, allocations: 495.7 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3817, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.3817, allocations: 7.984 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3817, allocations: 4 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3818, allocations: 11.94 kB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3818, allocations: 0 / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3818, allocations: 0 / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.382, allocations: 227.3 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.3821, allocations: 88.92 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.3821, allocations: 11.88 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3822, allocations: 19.97 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3823, allocations: 15.98 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.3823, allocations: 15.98 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001259/0.3824, allocations: 140.2 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3825, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002928/0.3828, allocations: 47.94 kB / 1.074 GB, free: 4.168 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.0007799/0.3835, allocations: 0.844 MB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3838, allocations: 106 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.3838, allocations: 0 / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.3839, allocations: 51.92 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3843, allocations: 57.94 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3862, allocations: 1.882 MB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3866, allocations: 0.7203 MB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.79e-05/0.3867, allocations: 33.45 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.3868, allocations: 55.41 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3868, allocations: 0 / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.479/1.866, allocations: 5.529 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/13.68, allocations: 19.23 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches