Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_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.001141/0.001141, 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.001229/0.001229, allocations: 196.7 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5835, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003341/0.5869, allocations: 1.727 MB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.5885, allocations: 0.9009 MB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.5886, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.5888, allocations: 35.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.5893, allocations: 107.4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.5897, allocations: 159.7 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.59, allocations: 239.3 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.5901, allocations: 53.64 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.5903, allocations: 107.7 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.6023, allocations: 1.967 MB / 1.023 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.6024, allocations: 16 kB / 1.023 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.6025, allocations: 39.98 kB / 1.023 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.6026, allocations: 39.84 kB / 1.023 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.6027, allocations: 95.55 kB / 1.023 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.6031, allocations: 219.3 kB / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6031, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.966e-06/0.6031, allocations: 0 / 1.023 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.6032, allocations: 3.938 kB / 1.023 GB, free: 13.32 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.0009224/0.6041, allocations: 0.5528 MB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6041, allocations: 8.031 kB / 1.024 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.6042, allocations: 46.73 kB / 1.024 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.6043, allocations: 16.75 kB / 1.024 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.6046, allocations: 243.2 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.6046, allocations: 15.98 kB / 1.024 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.6047, allocations: 12 kB / 1.024 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.6049, allocations: 113.4 kB / 1.024 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6049, allocations: 4 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.6049, allocations: 4 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.6049, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.605, allocations: 55.91 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.606, allocations: 0.5396 MB / 1.025 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.6062, allocations: 105 kB / 1.025 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/0.6063, allocations: 45.77 kB / 1.025 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.6063, allocations: 7.938 kB / 1.025 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.6066, allocations: 120.2 kB / 1.025 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.6066, allocations: 0 / 1.025 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003564/0.6069, allocations: 159 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.607, allocations: 89.23 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.6072, allocations: 206.4 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.6073, allocations: 33.7 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.6074, allocations: 128.4 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.6074, allocations: 27.64 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-05/0.6075, allocations: 57.69 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6077, allocations: 330.8 kB / 1.026 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.6077, allocations: 35.98 kB / 1.026 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.608, allocations: 143 kB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.6081, allocations: 111 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6082, allocations: 0 / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003335/0.6085, allocations: 169.8 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6085, allocations: 8 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6085, allocations: 160 / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6086, allocations: 8 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.6086, allocations: 15.98 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.6087, allocations: 4 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.6089, allocations: 31.77 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.6089, allocations: 4 kB / 1.026 GB, free: 9.586 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.0001435/0.6091, allocations: 139.5 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.6091, allocations: 19.81 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.6092, allocations: 21.53 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.6092, allocations: 0 / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6092, allocations: 3.938 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.6092, allocations: 7.984 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.6098, allocations: 459.9 kB / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6098, allocations: 0 / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.6099, allocations: 11.92 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.6099, allocations: 8 kB / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6099, allocations: 7.938 kB / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6099, allocations: 0 / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6099, allocations: 0 / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.6102, allocations: 228.1 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.6102, allocations: 92.92 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.6103, allocations: 3.938 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.6104, allocations: 27.97 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.6105, allocations: 19.92 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.6105, allocations: 4 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001381/0.6107, allocations: 139.2 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6107, allocations: 0 / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003326/0.611, allocations: 51.92 kB / 1.027 GB, free: 8.27 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.0007516/0.6118, allocations: 0.8438 MB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.612, allocations: 103 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.612, allocations: 7.938 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.592e-05/0.6121, allocations: 47.98 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.6126, allocations: 56.19 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.6148, allocations: 1.91 MB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.6151, allocations: 0.7242 MB / 1.031 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.504e-05/0.6152, allocations: 25.52 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.6153, allocations: 55.36 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6153, allocations: 0 / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.6411, allocations: 5.497 MB / 1.037 GB, free: 15.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/8.079, allocations: 7.797 kB / 1.037 GB, free: 15.01 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches