Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_10_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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001115/0.001115, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.5728, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002976/0.5758, allocations: 1.885 MB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.5773, allocations: 0.9398 MB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.102e-05/0.5774, allocations: 7.938 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.5775, allocations: 19.86 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.5778, allocations: 83.66 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.5782, allocations: 147.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.5784, allocations: 223.4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.5785, allocations: 41.66 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.5786, allocations: 107.6 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02303/0.6017, allocations: 1.563 MB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.261e-05/0.6017, allocations: 12 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.6019, allocations: 27.98 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.6019, allocations: 39.78 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.6021, allocations: 91.53 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.6023, allocations: 203.3 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6023, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6024, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.6024, allocations: 0 / 1.022 GB, free: 13.78 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007891/0.6032, allocations: 0.5528 MB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6032, allocations: 8.031 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.6032, allocations: 46.69 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.6033, allocations: 16.75 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.6036, allocations: 247.2 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6036, allocations: 8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.6037, allocations: 16 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.6038, allocations: 89.64 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.6039, allocations: 7.938 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.6039, allocations: 8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.6039, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.604, allocations: 47.97 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.6048, allocations: 476.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.6052, allocations: 130.7 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.6053, allocations: 40.84 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.6053, allocations: 4 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.6055, allocations: 107.2 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.6055, allocations: 0 / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003232/0.6058, allocations: 164.1 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.6059, allocations: 55.41 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.6061, allocations: 202.5 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.6061, allocations: 33.7 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.6062, allocations: 128.4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.6062, allocations: 31.61 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.6063, allocations: 61.67 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6064, allocations: 326.8 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.6065, allocations: 27.98 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.6068, allocations: 139.1 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.6069, allocations: 100.2 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6069, allocations: 4 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000241/0.6072, allocations: 157.2 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6072, allocations: 6.969 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6072, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6072, allocations: 4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.6073, allocations: 15.98 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.6073, allocations: 7.875 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.6075, allocations: 27.83 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.6075, allocations: 12.12 kB / 1.025 GB, free: 10.24 MB / 0.7794 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 0.0001263/0.6077, allocations: 140.1 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.6077, allocations: 23.8 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.6077, allocations: 17.88 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6078, allocations: 0 / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6078, allocations: 0 / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.6078, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006323/0.6084, allocations: 0.4903 MB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.6084, allocations: 0 / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.6085, allocations: 7.938 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6085, allocations: 0 / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.6085, allocations: 7.938 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6085, allocations: 3.984 kB / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6085, allocations: 0 / 1.026 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.6087, allocations: 227.2 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.6088, allocations: 100.8 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.6088, allocations: 3.938 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.6089, allocations: 15.98 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.609, allocations: 15.97 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.6091, allocations: 12 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001137/0.6092, allocations: 139.2 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6092, allocations: 0 / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003018/0.6095, allocations: 51.98 kB / 1.026 GB, free: 8.898 MB / 0.7794 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.0006828/0.6102, allocations: 0.8327 MB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.6104, allocations: 111.7 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6104, allocations: 0 / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.6105, allocations: 52.17 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.6109, allocations: 57.23 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.6129, allocations: 1.932 MB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.6132, allocations: 0.7206 MB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.977e-05/0.6133, allocations: 21.55 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.6134, allocations: 55.41 kB / 1.03 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6134, allocations: 7.938 kB / 1.03 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.6296, allocations: 5.194 MB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.6299, allocations: 271.4 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.47, allocations: 0 / 1.035 GB, free: 15.62 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches