Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.0008555/0.0008555, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005202/0.005202, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8 kB / 0.8161 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5191, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.001535/0.5207, allocations: 1.529 MB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.5218, allocations: 0.9378 MB / 0.9576 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.872e-05/0.5219, allocations: 1.219 kB / 0.9576 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.522, allocations: 24.25 kB / 0.9576 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.5222, allocations: 90.55 kB / 0.9577 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.5225, allocations: 141.6 kB / 0.9578 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.5227, allocations: 229.3 kB / 0.958 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.5228, allocations: 32.11 kB / 0.9581 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.5229, allocations: 106.9 kB / 0.9582 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0505/0.5734, allocations: 3.598 MB / 0.9617 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.5735, allocations: 11.78 kB / 0.9617 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.5736, allocations: 30.38 kB / 0.9617 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.5737, allocations: 32.38 kB / 0.9618 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.5738, allocations: 107.8 kB / 0.9619 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.574, allocations: 199 kB / 0.962 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.574, allocations: 0 / 0.962 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.574, allocations: 4 kB / 0.9621 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.574, allocations: 0 / 0.9621 GB, free: 3.797 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.0006029/0.5746, allocations: 0.5225 MB / 0.9626 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5747, allocations: 13.78 kB / 0.9626 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.5747, allocations: 41.27 kB / 0.9626 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.5748, allocations: 24.23 kB / 0.9626 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.575, allocations: 242.2 kB / 0.9629 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.575, allocations: 14.58 kB / 0.9629 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.575, allocations: 14.53 kB / 0.9629 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.5752, allocations: 93.45 kB / 0.963 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.5752, allocations: 0 / 0.963 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.5752, allocations: 5.031 kB / 0.963 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5752, allocations: 1.969 kB / 0.963 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.5753, allocations: 52.84 kB / 0.963 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.5759, allocations: 478.2 kB / 0.9635 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.5763, allocations: 153.5 kB / 0.9636 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.5764, allocations: 41.41 kB / 0.9637 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.5764, allocations: 1 kB / 0.9637 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.5766, allocations: 108.8 kB / 0.9638 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.5766, allocations: 0 / 0.9638 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0002788/0.5769, allocations: 166.6 kB / 0.9639 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.5769, allocations: 58.72 kB / 0.964 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.5771, allocations: 195.6 kB / 0.9642 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.5771, allocations: 35.97 kB / 0.9642 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.5771, allocations: 122.7 kB / 0.9643 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.5772, allocations: 32.7 kB / 0.9644 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.5772, allocations: 29.42 kB / 0.9644 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/0.5773, allocations: 339.3 kB / 0.9647 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.5773, allocations: 31.14 kB / 0.9648 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.5775, allocations: 130.5 kB / 0.9649 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.5776, allocations: 106.2 kB / 0.965 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5776, allocations: 0 / 0.965 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001866/0.5778, allocations: 154.6 kB / 0.9651 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5778, allocations: 13 kB / 0.9651 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5779, allocations: 1.438 kB / 0.9651 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5779, allocations: 2 kB / 0.9651 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.5779, allocations: 20.16 kB / 0.9652 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.578, allocations: 1.906 kB / 0.9652 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.5782, allocations: 32.25 kB / 0.9652 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5782, allocations: 9.188 kB / 0.9652 GB, free: 1.055 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 8.921e-05/0.5783, allocations: 136.6 kB / 0.9653 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.5783, allocations: 20.34 kB / 0.9654 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.5784, allocations: 28.92 kB / 0.9654 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5784, allocations: 2.297 kB / 0.9654 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5784, allocations: 4.766 kB / 0.9654 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5784, allocations: 0 / 0.9654 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.5789, allocations: 0.5003 MB / 0.9659 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.5789, allocations: 1.344 kB / 0.9659 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.579, allocations: 2.406 kB / 0.9659 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.579, allocations: 1 kB / 0.9659 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.579, allocations: 5.031 kB / 0.9659 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.579, allocations: 4.938 kB / 0.9659 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.579, allocations: 1.031 kB / 0.9659 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.5792, allocations: 234.6 kB / 0.9661 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.5792, allocations: 97.84 kB / 0.9662 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.5792, allocations: 4.969 kB / 0.9662 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5794, allocations: 24.39 kB / 0.9662 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.5794, allocations: 20.62 kB / 0.9663 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.5794, allocations: 5.156 kB / 0.9663 GB, free: 132 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.084e-05/0.5795, allocations: 146 kB / 0.9664 GB, free: 20 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5796, allocations: 0.8438 kB / 0.9664 GB, free: 20 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002867/0.5798, allocations: 47.17 kB / 0.9664 GB, free: 8 kB / 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.0006341/0.5805, allocations: 0.8362 MB / 0.9673 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.5807, allocations: 99.89 kB / 0.9674 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5807, allocations: 4.062 kB / 0.9674 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.5808, allocations: 56.39 kB / 0.9674 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.5812, allocations: 51.89 kB / 0.9675 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.5832, allocations: 1.917 MB / 0.9693 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.5835, allocations: 0.7252 MB / 0.97 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.755e-05/0.5836, allocations: 22.7 kB / 0.9701 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.5837, allocations: 59.62 kB / 0.9701 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5837, allocations: 0 / 0.9701 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.6052, allocations: 5.078 MB / 0.9751 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.6055, allocations: 279.7 kB / 0.9754 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.316, allocations: 0 / 0.9754 GB, free: 9.977 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches