Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_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.001186/0.001187, allocations: 108 kB / 15.6 MB, free: 132 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.00125/0.00125, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.89 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.563, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002554/0.5656, allocations: 1.728 MB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.5668, allocations: 0.9055 MB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.5669, allocations: 1.25 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.5671, allocations: 22.98 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.5674, allocations: 120.5 kB / 0.9524 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.5677, allocations: 150.8 kB / 0.9526 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.5679, allocations: 242.8 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.568, allocations: 44.08 kB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.5681, allocations: 108.3 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009148/0.5773, allocations: 1.656 MB / 0.9545 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.5774, allocations: 17.81 kB / 0.9546 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.5775, allocations: 47.77 kB / 0.9546 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.5775, allocations: 39.95 kB / 0.9546 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.5777, allocations: 86.05 kB / 0.9547 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.578, allocations: 214.4 kB / 0.9549 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.578, allocations: 0 / 0.9549 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.578, allocations: 4 kB / 0.9549 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.578, allocations: 5.219 kB / 0.9549 GB, free: 5.742 MB / 0.7169 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.0007179/0.5787, allocations: 0.5632 MB / 0.9555 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5788, allocations: 10.44 kB / 0.9555 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.5788, allocations: 38.56 kB / 0.9555 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.5789, allocations: 21.23 kB / 0.9556 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.5791, allocations: 243.2 kB / 0.9558 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5791, allocations: 13.88 kB / 0.9558 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.5792, allocations: 14.81 kB / 0.9558 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.5794, allocations: 117.8 kB / 0.9559 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5794, allocations: 0 / 0.9559 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5794, allocations: 9.422 kB / 0.9559 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5794, allocations: 2.219 kB / 0.9559 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5795, allocations: 54.38 kB / 0.956 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/0.5802, allocations: 0.5386 MB / 0.9565 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.5804, allocations: 101.2 kB / 0.9566 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.5804, allocations: 42.39 kB / 0.9567 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5805, allocations: 6.906 kB / 0.9567 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.5806, allocations: 117.5 kB / 0.9568 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.5807, allocations: 3.984 kB / 0.9568 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003162/0.581, allocations: 167.2 kB / 0.9569 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.581, allocations: 83.84 kB / 0.957 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.5812, allocations: 200.5 kB / 0.9572 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.5812, allocations: 40.62 kB / 0.9573 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.5813, allocations: 121.8 kB / 0.9574 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.5813, allocations: 33.58 kB / 0.9574 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.087e-05/0.5814, allocations: 65.17 kB / 0.9575 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.5814, allocations: 330.4 kB / 0.9578 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.5815, allocations: 30.7 kB / 0.9578 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.5817, allocations: 131.5 kB / 0.9579 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5819, allocations: 117.9 kB / 0.958 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5819, allocations: 0 / 0.958 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002389/0.5821, allocations: 166.3 kB / 0.9582 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5821, allocations: 5.281 kB / 0.9582 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5821, allocations: 2.25 kB / 0.9582 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5822, allocations: 2.375 kB / 0.9582 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.5823, allocations: 19.83 kB / 0.9582 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5823, allocations: 2.344 kB / 0.9582 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.5825, allocations: 24.55 kB / 0.9583 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5825, allocations: 5.875 kB / 0.9583 GB, free: 2.762 MB / 0.7169 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 9.626e-05/0.5826, allocations: 145.3 kB / 0.9584 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.5827, allocations: 27.52 kB / 0.9584 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.5827, allocations: 18 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5827, allocations: 2.25 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5827, allocations: 0.9688 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5827, allocations: 1.125 kB / 0.9584 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.5832, allocations: 465 kB / 0.9589 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5832, allocations: 0 / 0.9589 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.5833, allocations: 3.344 kB / 0.9589 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.5833, allocations: 5.078 kB / 0.9589 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5833, allocations: 17.53 kB / 0.9589 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5833, allocations: 1.812 kB / 0.9589 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5833, allocations: 4 kB / 0.9589 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.5835, allocations: 235.1 kB / 0.9591 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.5836, allocations: 88.89 kB / 0.9592 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.5836, allocations: 6.156 kB / 0.9592 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5837, allocations: 15.55 kB / 0.9593 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.5838, allocations: 20.22 kB / 0.9593 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.5838, allocations: 5.5 kB / 0.9593 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.638e-05/0.5839, allocations: 142.9 kB / 0.9594 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5839, allocations: 0 / 0.9594 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003245/0.5843, allocations: 55.11 kB / 0.9595 GB, free: 1.719 MB / 0.7169 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.000527/0.5848, allocations: 0.835 MB / 0.9603 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.585, allocations: 109.8 kB / 0.9604 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.585, allocations: 5.469 kB / 0.9604 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.5851, allocations: 46.45 kB / 0.9604 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.5855, allocations: 58.06 kB / 0.9605 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.5875, allocations: 1.926 MB / 0.9624 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.5877, allocations: 0.7173 MB / 0.9631 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.817e-05/0.5878, allocations: 22.78 kB / 0.9631 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.5879, allocations: 60.09 kB / 0.9631 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.5879, allocations: 4 kB / 0.9632 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.6108, allocations: 5.476 MB / 0.9685 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.246, allocations: 16.81 kB / 0.9685 GB, free: 11.69 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches