Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_latest_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.0008639/0.0008639, allocations: 97.56 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.005185/0.005185, allocations: 169.3 kB / 16.26 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 7.781 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2862, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00295/0.2892, allocations: 1.549 MB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2913, allocations: 0.932 MB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.2915, allocations: 4 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.2917, allocations: 27.78 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004647/0.2922, allocations: 87.67 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.2927, allocations: 135.8 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000387/0.2931, allocations: 235.3 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.2933, allocations: 33.67 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.2935, allocations: 99.67 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04828/0.3418, allocations: 3.285 MB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.409e-05/0.3419, allocations: 8 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.3423, allocations: 32 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.3424, allocations: 31.89 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.3426, allocations: 105.2 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.3429, allocations: 207.3 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3429, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3429, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.343, allocations: 0 / 1.065 GB, free: 14.96 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.0008966/0.3439, allocations: 0.5178 MB / 1.066 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.3439, allocations: 11.97 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/0.344, allocations: 38.75 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.3441, allocations: 28.73 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.3444, allocations: 243.2 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.3444, allocations: 8 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.3445, allocations: 16 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.3447, allocations: 116.7 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3447, allocations: 0 / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3447, allocations: 3.984 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.3447, allocations: 4 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3449, allocations: 59.84 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.3458, allocations: 0.5512 MB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.346, allocations: 101.1 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.3461, allocations: 37.95 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3461, allocations: 7.875 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.3464, allocations: 125 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.183e-06/0.3464, allocations: 0 / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003967/0.3468, allocations: 157.6 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.3469, allocations: 89.09 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.3471, allocations: 192.3 kB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.3472, allocations: 37.69 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3473, allocations: 120.5 kB / 1.068 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.3474, allocations: 39.67 kB / 1.068 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3474, allocations: 29.7 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3476, allocations: 330.8 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.3477, allocations: 31.98 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.3479, allocations: 137.8 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.3481, allocations: 114 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3481, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002694/0.3484, allocations: 171.9 kB / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3484, allocations: 8 kB / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3484, allocations: 0 / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3485, allocations: 4 kB / 1.069 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.3486, allocations: 15.98 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3486, allocations: 3.938 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.3488, allocations: 36.08 kB / 1.069 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3488, allocations: 4 kB / 1.069 GB, free: 11.28 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.0001511/0.349, allocations: 143.5 kB / 1.069 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.349, allocations: 19.72 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.3491, allocations: 21.47 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3491, allocations: 0 / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3491, allocations: 3.938 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.3491, allocations: 7.984 kB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.3498, allocations: 470.2 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3498, allocations: 3.938 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.3498, allocations: 11.98 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3498, allocations: 4 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3498, allocations: 4 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.3498, allocations: 7.938 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3498, allocations: 0 / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3501, allocations: 230.9 kB / 1.07 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.3502, allocations: 100.8 kB / 1.07 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3502, allocations: 3.984 kB / 1.07 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3504, allocations: 27.92 kB / 1.07 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.3505, allocations: 19.97 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3505, allocations: 8 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001433/0.3506, allocations: 144.2 kB / 1.07 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3506, allocations: 0 / 1.07 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003119/0.351, allocations: 40 kB / 1.07 GB, free: 9.934 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.0008814/0.3518, allocations: 0.8355 MB / 1.071 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3521, allocations: 99.83 kB / 1.071 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3521, allocations: 0 / 1.071 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.3522, allocations: 51.92 kB / 1.071 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.3527, allocations: 50.16 kB / 1.071 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.355, allocations: 1.97 MB / 1.073 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3554, allocations: 0.7245 MB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.3555, allocations: 21.55 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.3556, allocations: 55.41 kB / 1.074 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3556, allocations: 0 / 1.074 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.3734, allocations: 5.039 MB / 1.078 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.3737, allocations: 287.5 kB / 1.079 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.27, allocations: 0 / 1.079 GB, free: 0.7734 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches