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.001607/0.001607, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002458/0.002458, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 70.8 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3271, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003234/0.3304, allocations: 1.887 MB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.332, allocations: 0.9436 MB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.332, allocations: 4 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.3323, allocations: 23.86 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.3325, allocations: 99.59 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.3329, allocations: 135.8 kB / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3331, allocations: 223.4 kB / 1.055 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3332, allocations: 45.64 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3334, allocations: 103.6 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02173/0.3551, allocations: 1.522 MB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.3552, allocations: 8 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3554, allocations: 28 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.3555, allocations: 39.83 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3556, allocations: 91.55 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.356, allocations: 207.3 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.356, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.356, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.356, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 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.0009715/0.357, allocations: 0.5566 MB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.357, allocations: 15.97 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.3571, allocations: 42.73 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.3572, allocations: 20.75 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3575, allocations: 251.2 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3575, allocations: 8 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.3576, allocations: 12 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3578, allocations: 111.4 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3578, allocations: 0 / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3578, allocations: 4 kB / 1.058 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3579, allocations: 8 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.358, allocations: 51.91 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.359, allocations: 0.5434 MB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3592, allocations: 93.08 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.3592, allocations: 45.77 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3593, allocations: 3.938 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.3595, allocations: 123.9 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.3595, allocations: 0 / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003759/0.3599, allocations: 169.3 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3599, allocations: 81.11 kB / 1.059 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.3601, allocations: 192.4 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3602, allocations: 33.83 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3603, allocations: 128.4 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3603, allocations: 39.53 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.3604, allocations: 53.69 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3606, allocations: 338.8 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.464e-05/0.3606, allocations: 27.98 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.3609, allocations: 142 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3611, allocations: 116.7 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3611, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002821/0.3614, allocations: 157.4 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3614, allocations: 4 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3614, allocations: 4 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3614, allocations: 3.938 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.3615, allocations: 15.98 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3615, allocations: 4 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.3618, allocations: 31.98 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3618, allocations: 4 kB / 1.061 GB, free: 15.48 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.0001563/0.3619, allocations: 151.5 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.362, allocations: 15.81 kB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.362, allocations: 21.47 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3621, allocations: 3.984 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3621, allocations: 4 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3621, allocations: 4 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006632/0.3627, allocations: 474.2 kB / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3628, allocations: 0 / 1.061 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.3628, allocations: 7.938 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3628, allocations: 0 / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3628, allocations: 7.938 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3628, allocations: 4 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3628, allocations: 0 / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3631, allocations: 228.2 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.3632, allocations: 96.8 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.3632, allocations: 3.938 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3634, allocations: 19.97 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.3634, allocations: 11.98 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.3635, allocations: 19.98 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001318/0.3636, allocations: 144.2 kB / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3636, allocations: 0 / 1.062 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003276/0.3639, allocations: 47.91 kB / 1.062 GB, free: 14.14 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.0008162/0.3648, allocations: 0.8414 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.365, allocations: 99.84 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.365, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3651, allocations: 51.92 kB / 1.063 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.3656, allocations: 43.95 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.3678, allocations: 1.969 MB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3681, allocations: 0.7245 MB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.414e-05/0.3682, allocations: 21.55 kB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.3683, allocations: 58.03 kB / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3683, allocations: 0 / 1.066 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.385, allocations: 5.144 MB / 1.071 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.3853, allocations: 282.4 kB / 1.071 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.24, allocations: 0 / 1.071 GB, free: 4.859 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