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.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.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.0008473/0.0008475, allocations: 97.64 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.005032/0.005031, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.108/2.108, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5321, allocations: 142.4 MB / 0.9552 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00155/0.5337, allocations: 1.524 MB / 0.9567 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.5348, allocations: 0.9342 MB / 0.9576 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.5349, allocations: 0 / 0.9576 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.535, allocations: 21.52 kB / 0.9576 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.5353, allocations: 94.5 kB / 0.9577 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.5356, allocations: 144.2 kB / 0.9578 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.5358, allocations: 225.4 kB / 0.958 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.5359, allocations: 36.58 kB / 0.9581 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.536, allocations: 98.19 kB / 0.9582 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04559/0.5816, allocations: 3.316 MB / 0.9614 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.5817, allocations: 8.812 kB / 0.9614 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.305e-05/0.5818, allocations: 23.12 kB / 0.9614 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.5818, allocations: 31.53 kB / 0.9615 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.756e-05/0.5819, allocations: 115.3 kB / 0.9616 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.5821, allocations: 203.3 kB / 0.9618 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5821, allocations: 4 kB / 0.9618 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5821, allocations: 0 / 0.9618 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5821, allocations: 0 / 0.9618 GB, free: 3.949 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.0005468/0.5827, allocations: 0.5222 MB / 0.9623 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5827, allocations: 10.47 kB / 0.9623 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.5828, allocations: 41.72 kB / 0.9623 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.5828, allocations: 18.66 kB / 0.9623 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.583, allocations: 247.2 kB / 0.9626 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.583, allocations: 13.67 kB / 0.9626 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.5831, allocations: 10.88 kB / 0.9626 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.5832, allocations: 94.03 kB / 0.9627 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5832, allocations: 0 / 0.9627 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5833, allocations: 5.188 kB / 0.9627 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.5833, allocations: 6.25 kB / 0.9627 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.702e-05/0.5834, allocations: 47.69 kB / 0.9627 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.584, allocations: 475.1 kB / 0.9632 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.5844, allocations: 156.7 kB / 0.9633 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.5844, allocations: 38.03 kB / 0.9634 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.5845, allocations: 2.688 kB / 0.9634 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.5846, allocations: 115.2 kB / 0.9635 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.5846, allocations: 0 / 0.9635 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0002626/0.5849, allocations: 166.5 kB / 0.9637 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.5849, allocations: 54.97 kB / 0.9637 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.585, allocations: 197.6 kB / 0.9639 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.5851, allocations: 33.39 kB / 0.9639 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.5851, allocations: 122.8 kB / 0.964 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.5852, allocations: 32.14 kB / 0.9641 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.5852, allocations: 34.36 kB / 0.9641 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.5853, allocations: 330.8 kB / 0.9644 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.5853, allocations: 31.52 kB / 0.9645 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.5855, allocations: 134 kB / 0.9646 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.5856, allocations: 114.6 kB / 0.9647 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5856, allocations: 1.25 kB / 0.9647 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001998/0.5858, allocations: 148.6 kB / 0.9648 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5858, allocations: 5.781 kB / 0.9648 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5859, allocations: 1.312 kB / 0.9648 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.5859, allocations: 6.406 kB / 0.9648 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.5859, allocations: 19.05 kB / 0.9649 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5859, allocations: 6.016 kB / 0.9649 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5862, allocations: 29.39 kB / 0.9649 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5862, allocations: 8.844 kB / 0.9649 GB, free: 1.215 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.659e-05/0.5863, allocations: 140.5 kB / 0.965 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.5863, allocations: 23.25 kB / 0.9651 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.5863, allocations: 21.62 kB / 0.9651 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5863, allocations: 1.969 kB / 0.9651 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5864, allocations: 1.031 kB / 0.9651 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5864, allocations: 3.984 kB / 0.9651 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.5869, allocations: 0.4964 MB / 0.9656 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5869, allocations: 1.125 kB / 0.9656 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.5869, allocations: 2.844 kB / 0.9656 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5869, allocations: 0.9688 kB / 0.9656 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.5869, allocations: 9.016 kB / 0.9656 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.587, allocations: 5 kB / 0.9656 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.587, allocations: 4.844 kB / 0.9656 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.5871, allocations: 234 kB / 0.9658 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.5872, allocations: 94.05 kB / 0.9659 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.5872, allocations: 5.062 kB / 0.9659 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.5873, allocations: 19.7 kB / 0.9659 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.5874, allocations: 21.25 kB / 0.966 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5874, allocations: 13.14 kB / 0.966 GB, free: 292 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.044e-05/0.5875, allocations: 142.8 kB / 0.9661 GB, free: 184 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5875, allocations: 0 / 0.9661 GB, free: 184 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002834/0.5878, allocations: 43.31 kB / 0.9661 GB, free: 176 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.0006023/0.5884, allocations: 0.8409 MB / 0.967 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.5886, allocations: 102.3 kB / 0.9671 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.5886, allocations: 0 / 0.9671 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.5887, allocations: 56.36 kB / 0.9671 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.5891, allocations: 55.27 kB / 0.9672 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.591, allocations: 1.94 MB / 0.9691 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.5912, allocations: 0.733 MB / 0.9698 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.697e-05/0.5913, allocations: 26.7 kB / 0.9698 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.5914, allocations: 52.2 kB / 0.9699 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5914, allocations: 0 / 0.9699 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.6096, allocations: 5.081 MB / 0.9748 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.6099, allocations: 270.3 kB / 0.9751 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.375, allocations: 0 / 0.9751 GB, free: 10.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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