Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.0009902/0.0009943, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007267/0.007267, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.412/2.412, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5454, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00212/0.5476, allocations: 1.539 MB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.5492, allocations: 0.9321 MB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.5494, allocations: 0 / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.5496, allocations: 19.86 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.5499, allocations: 95.59 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.5503, allocations: 143.6 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.5506, allocations: 235.2 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.5508, allocations: 37.66 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.5509, allocations: 91.69 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04802/0.599, allocations: 3.283 MB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.179e-05/0.5992, allocations: 8 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.5993, allocations: 31.98 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.5994, allocations: 27.91 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.5996, allocations: 117.2 kB / 1.03 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.5999, allocations: 199.3 kB / 1.03 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5999, allocations: 0 / 1.03 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5999, allocations: 0 / 1.03 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.5999, allocations: 0 / 1.03 GB, free: 9.855 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008362/0.6007, allocations: 0.5178 MB / 1.03 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.6008, allocations: 8.031 kB / 1.03 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.6008, allocations: 38.75 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.6009, allocations: 24.73 kB / 1.03 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.6012, allocations: 243.3 kB / 1.031 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.6012, allocations: 11.94 kB / 1.031 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.6013, allocations: 16 kB / 1.031 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.6015, allocations: 116.9 kB / 1.031 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.6015, allocations: 0 / 1.031 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.6015, allocations: 3.984 kB / 1.031 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.6016, allocations: 4 kB / 1.031 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.6017, allocations: 51.97 kB / 1.031 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.6026, allocations: 0.5551 MB / 1.031 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.6027, allocations: 105 kB / 1.031 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.362e-05/0.6028, allocations: 37.77 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.6028, allocations: 7.938 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.603, allocations: 117.2 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.6031, allocations: 7.938 kB / 1.032 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003405/0.6034, allocations: 157.6 kB / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.6035, allocations: 85.09 kB / 1.032 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.6037, allocations: 202.5 kB / 1.032 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.6037, allocations: 29.7 kB / 1.032 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.733e-05/0.6038, allocations: 128.4 kB / 1.032 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.6039, allocations: 31.55 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.6039, allocations: 29.7 kB / 1.032 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6041, allocations: 334.9 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.6041, allocations: 35.98 kB / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.6044, allocations: 136.9 kB / 1.033 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.6046, allocations: 121.3 kB / 1.033 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6046, allocations: 0 / 1.033 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002823/0.6049, allocations: 165.5 kB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6049, allocations: 8 kB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6049, allocations: 0 / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6049, allocations: 4 kB / 1.033 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.605, allocations: 19.92 kB / 1.033 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.605, allocations: 4 kB / 1.033 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.6053, allocations: 27.89 kB / 1.033 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.6053, allocations: 8 kB / 1.033 GB, free: 6.172 MB / 0.7794 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.0001595/0.6055, allocations: 152 kB / 1.033 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6055, allocations: 15.81 kB / 1.033 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.6056, allocations: 17.53 kB / 1.033 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6056, allocations: 4 kB / 1.033 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6056, allocations: 3.938 kB / 1.033 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6056, allocations: 3.984 kB / 1.033 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006622/0.6063, allocations: 474.1 kB / 1.034 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6063, allocations: 0 / 1.034 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.6063, allocations: 11.92 kB / 1.034 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6063, allocations: 0 / 1.034 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.6063, allocations: 8 kB / 1.034 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/0.6064, allocations: 7.938 kB / 1.034 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6064, allocations: 0 / 1.034 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.6066, allocations: 228.1 kB / 1.034 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.6067, allocations: 92.92 kB / 1.034 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.6067, allocations: 0 / 1.034 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.6069, allocations: 27.91 kB / 1.034 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.6069, allocations: 19.98 kB / 1.034 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/0.6073, allocations: 11.98 kB / 1.034 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001306/0.6074, allocations: 139.2 kB / 1.034 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6074, allocations: 3.938 kB / 1.034 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00031/0.6077, allocations: 51.88 kB / 1.034 GB, free: 4.828 MB / 0.7794 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.0006997/0.6084, allocations: 0.8313 MB / 1.035 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.6087, allocations: 102.4 kB / 1.035 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.6087, allocations: 0 / 1.035 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.83e-05/0.6088, allocations: 55.92 kB / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.6092, allocations: 55.03 kB / 1.035 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.6116, allocations: 1.972 MB / 1.037 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.6119, allocations: 0.7245 MB / 1.038 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.196e-05/0.612, allocations: 25.48 kB / 1.038 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/0.6121, allocations: 55.41 kB / 1.038 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6121, allocations: 0 / 1.038 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.6463, allocations: 5.021 MB / 1.043 GB, free: 12.04 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.6466, allocations: 276.9 kB / 1.043 GB, free: 11.68 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.576, allocations: 0 / 1.043 GB, free: 11.68 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches