Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.001313/0.001313, 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.001546/0.001547, allocations: 192.9 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.379/2.379, allocations: 390.3 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 67.88 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6605, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002936/0.6635, allocations: 1.722 MB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.6649, allocations: 0.9042 MB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.665, allocations: 1.281 kB / 0.9523 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.6652, allocations: 30.17 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.6655, allocations: 116.2 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.6659, allocations: 154.9 kB / 0.9526 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.6662, allocations: 246.8 kB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.6663, allocations: 43.09 kB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.6665, allocations: 104 kB / 0.9529 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009411/0.6759, allocations: 1.688 MB / 0.9546 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.676, allocations: 17.97 kB / 0.9546 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.6761, allocations: 39.89 kB / 0.9546 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.6762, allocations: 43.83 kB / 0.9547 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.6763, allocations: 86.28 kB / 0.9548 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.6767, allocations: 213.4 kB / 0.955 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.6767, allocations: 5.25 kB / 0.955 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6767, allocations: 0 / 0.955 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.6767, allocations: 0 / 0.955 GB, free: 5.695 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008017/0.6775, allocations: 0.5575 MB / 0.9555 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.6776, allocations: 9.344 kB / 0.9555 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.6776, allocations: 42.7 kB / 0.9556 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.6777, allocations: 24.53 kB / 0.9556 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.6779, allocations: 244.7 kB / 0.9558 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.678, allocations: 10.66 kB / 0.9558 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.678, allocations: 13.94 kB / 0.9558 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.6782, allocations: 93.16 kB / 0.9559 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6782, allocations: 0 / 0.9559 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.6782, allocations: 5.531 kB / 0.9559 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6783, allocations: 1.594 kB / 0.9559 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.6784, allocations: 49.03 kB / 0.956 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/0.6791, allocations: 474.4 kB / 0.9564 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.6796, allocations: 135.8 kB / 0.9566 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.6796, allocations: 38.19 kB / 0.9566 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.6797, allocations: 1.938 kB / 0.9566 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.6798, allocations: 112.3 kB / 0.9567 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.6798, allocations: 0 / 0.9567 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003422/0.6802, allocations: 170.1 kB / 0.9569 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.6802, allocations: 58.16 kB / 0.9569 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6804, allocations: 198.7 kB / 0.9571 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.6804, allocations: 33.83 kB / 0.9572 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.6805, allocations: 130 kB / 0.9573 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.6806, allocations: 33.05 kB / 0.9573 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.6806, allocations: 57.06 kB / 0.9574 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.068e-05/0.6807, allocations: 330.9 kB / 0.9577 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.6808, allocations: 29.86 kB / 0.9577 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.681, allocations: 131.3 kB / 0.9578 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.6811, allocations: 104.6 kB / 0.9579 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6811, allocations: 0.8438 kB / 0.9579 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002267/0.6814, allocations: 155.6 kB / 0.9581 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6814, allocations: 4.938 kB / 0.9581 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6814, allocations: 1.438 kB / 0.9581 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6814, allocations: 2.562 kB / 0.9581 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.6815, allocations: 15.47 kB / 0.9581 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6815, allocations: 1.281 kB / 0.9581 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.6817, allocations: 36.47 kB / 0.9581 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6817, allocations: 5.312 kB / 0.9581 GB, free: 2.926 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.937e-05/0.6818, allocations: 139.6 kB / 0.9583 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.6819, allocations: 16.72 kB / 0.9583 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.6819, allocations: 21.23 kB / 0.9583 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6819, allocations: 2.156 kB / 0.9583 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6819, allocations: 0 / 0.9583 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6819, allocations: 1.125 kB / 0.9583 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.6825, allocations: 0.493 MB / 0.9588 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6825, allocations: 0 / 0.9588 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.6826, allocations: 7.469 kB / 0.9588 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6826, allocations: 0.8125 kB / 0.9588 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.6826, allocations: 10.12 kB / 0.9588 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.6826, allocations: 0 / 0.9588 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6826, allocations: 5.094 kB / 0.9588 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.6828, allocations: 230.5 kB / 0.959 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.6829, allocations: 94.08 kB / 0.9591 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.6829, allocations: 5 kB / 0.9591 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.683, allocations: 18.25 kB / 0.9592 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.6831, allocations: 17.33 kB / 0.9592 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.6831, allocations: 13.17 kB / 0.9592 GB, free: 2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000106/0.6833, allocations: 146.2 kB / 0.9593 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6833, allocations: 0 / 0.9593 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000313/0.6836, allocations: 48.31 kB / 0.9594 GB, free: 1.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0006531/0.6842, allocations: 0.828 MB / 0.9602 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.6845, allocations: 114 kB / 0.9603 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6845, allocations: 4.969 kB / 0.9603 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.473e-05/0.6846, allocations: 52.25 kB / 0.9603 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.685, allocations: 55.36 kB / 0.9604 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.687, allocations: 1.91 MB / 0.9623 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.6873, allocations: 0.7253 MB / 0.963 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.266e-05/0.6873, allocations: 26.52 kB / 0.963 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.6875, allocations: 56.5 kB / 0.963 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.6875, allocations: 0 / 0.963 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/0.7122, allocations: 5.533 MB / 0.9685 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/8.228, allocations: 7.312 kB / 0.9685 GB, free: 11.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_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_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches