Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.007525/0.007525, allocations: 97.22 kB / 15.73 MB, free: 6.004 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.001376/0.001376, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.7 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3461, allocations: 162.2 MB / 1.241 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003112/0.3492, allocations: 1.75 MB / 1.243 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3508, allocations: 0.8968 MB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.3509, allocations: 0 / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.3511, allocations: 27.72 kB / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.3515, allocations: 123.4 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.3518, allocations: 154.8 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.3522, allocations: 243.4 kB / 1.245 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3523, allocations: 45.62 kB / 1.245 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.3525, allocations: 115.5 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01592/0.3684, allocations: 1.981 MB / 1.247 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.463e-05/0.3685, allocations: 20 kB / 1.247 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3686, allocations: 47.92 kB / 1.247 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.3687, allocations: 39.83 kB / 1.247 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.3688, allocations: 87.56 kB / 1.247 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.3692, allocations: 227.1 kB / 1.247 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3693, allocations: 0 / 1.247 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3693, allocations: 0 / 1.247 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3693, allocations: 0 / 1.247 GB, free: 4.109 MB / 0.9669 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.0008444/0.3701, allocations: 0.5565 MB / 1.248 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3702, allocations: 12.03 kB / 1.248 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.3702, allocations: 38.73 kB / 1.248 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.3703, allocations: 20.84 kB / 1.248 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.3706, allocations: 248 kB / 1.248 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3706, allocations: 15.98 kB / 1.248 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3707, allocations: 8 kB / 1.248 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3709, allocations: 115.4 kB / 1.248 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3709, allocations: 0 / 1.248 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3709, allocations: 8 kB / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3709, allocations: 0 / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3711, allocations: 59.84 kB / 1.248 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.3719, allocations: 0.5473 MB / 1.249 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3721, allocations: 97.12 kB / 1.249 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.3722, allocations: 41.77 kB / 1.249 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3722, allocations: 12.06 kB / 1.249 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.3725, allocations: 117 kB / 1.249 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.3725, allocations: 0 / 1.249 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003572/0.3729, allocations: 169.1 kB / 1.249 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.373, allocations: 81.11 kB / 1.249 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3732, allocations: 200.5 kB / 1.249 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3732, allocations: 33.7 kB / 1.249 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3733, allocations: 128.5 kB / 1.249 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.3734, allocations: 35.72 kB / 1.249 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.3735, allocations: 57.69 kB / 1.25 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3736, allocations: 330.8 kB / 1.25 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.571e-05/0.3737, allocations: 27.98 kB / 1.25 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3739, allocations: 145.3 kB / 1.25 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3741, allocations: 110 kB / 1.25 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3741, allocations: 0 / 1.25 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002637/0.3744, allocations: 165.3 kB / 1.25 GB, free: 448 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3744, allocations: 6.656 kB / 1.25 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3744, allocations: 4 kB / 1.25 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3744, allocations: 0 / 1.25 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.3745, allocations: 24.14 kB / 1.25 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3746, allocations: 3.938 kB / 1.25 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.3748, allocations: 23.94 kB / 1.25 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3748, allocations: 8 kB / 1.25 GB, free: 380 kB / 0.9669 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.0001331/0.3749, allocations: 143.5 kB / 1.25 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.375, allocations: 15.91 kB / 1.25 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.375, allocations: 17.53 kB / 1.251 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.375, allocations: 7.938 kB / 1.251 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3751, allocations: 8 kB / 1.251 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3751, allocations: 3.984 kB / 1.251 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.3757, allocations: 461.5 kB / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3757, allocations: 0 / 1.251 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.3757, allocations: 11.83 kB / 1.251 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3758, allocations: 0 / 1.251 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3758, allocations: 11.94 kB / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3758, allocations: 0 / 1.251 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3758, allocations: 4 kB / 1.251 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3761, allocations: 236.1 kB / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.3761, allocations: 92.95 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3762, allocations: 8.031 kB / 1.251 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3763, allocations: 11.98 kB / 1.251 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.3764, allocations: 27.95 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.3764, allocations: 8 kB / 1.251 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001306/0.3765, allocations: 144.2 kB / 1.252 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3765, allocations: 4 kB / 1.252 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003112/0.3769, allocations: 47.88 kB / 1.252 GB, free: 15.03 MB / 0.9825 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.0008095/0.3777, allocations: 0.8351 MB / 1.252 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.3779, allocations: 103.7 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3779, allocations: 4 kB / 1.252 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.378, allocations: 47.92 kB / 1.253 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3785, allocations: 56.81 kB / 1.253 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.3806, allocations: 1.923 MB / 1.254 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3809, allocations: 0.7206 MB / 1.255 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.735e-05/0.381, allocations: 25.52 kB / 1.255 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3811, allocations: 59.41 kB / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3811, allocations: 0 / 1.255 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.409, allocations: 5.55 MB / 1.261 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.433, allocations: 2.672 kB / 1.261 GB, free: 5.734 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches