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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005556/0.005556, allocations: 101 kB / 15.73 MB, free: 6.035 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.001267/0.001267, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.88 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003035/0.3137, allocations: 1.722 MB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3153, allocations: 0.9085 MB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.3154, allocations: 0 / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.3156, allocations: 31.72 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.316, allocations: 119.5 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.3164, allocations: 147.7 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.3167, allocations: 247.3 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3168, allocations: 33.67 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.317, allocations: 115.6 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.3271, allocations: 1.701 MB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.3272, allocations: 24 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.3273, allocations: 32 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.3274, allocations: 47.77 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3275, allocations: 87.56 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.3279, allocations: 220.2 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3279, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3279, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3279, allocations: 7.938 kB / 1.171 GB, free: 2.324 MB / 0.92 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.0008103/0.3287, allocations: 0.545 MB / 1.172 GB, free: 1.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3288, allocations: 8.031 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.3288, allocations: 42.73 kB / 1.172 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.3289, allocations: 24.66 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.3292, allocations: 243.3 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3292, allocations: 11.98 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.3292, allocations: 16 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3294, allocations: 81.66 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.3294, allocations: 7.984 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.3295, allocations: 8 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3295, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3296, allocations: 54.2 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.3304, allocations: 468.2 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.3308, allocations: 142.7 kB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.3309, allocations: 32.84 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3309, allocations: 7.938 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.3311, allocations: 115.2 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3311, allocations: 0 / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003269/0.3315, allocations: 168.8 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3315, allocations: 59.41 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.3318, allocations: 194.5 kB / 1.174 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.3318, allocations: 37.69 kB / 1.174 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3319, allocations: 120.5 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.332, allocations: 39.55 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.3321, allocations: 57.67 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3322, allocations: 330.8 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.617e-05/0.3323, allocations: 31.98 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.3325, allocations: 126.2 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3327, allocations: 108.1 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3327, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002401/0.3329, allocations: 155 kB / 1.175 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.333, allocations: 8.125 kB / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.333, allocations: 0 / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.333, allocations: 4 kB / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.3331, allocations: 23.92 kB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3331, allocations: 0 / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3333, allocations: 19.92 kB / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3333, allocations: 12 kB / 1.175 GB, free: 14.79 MB / 0.9356 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.0001284/0.3334, allocations: 139.5 kB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3335, allocations: 23.72 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.3335, allocations: 25.86 kB / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3335, allocations: 0 / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3336, allocations: 0 / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3336, allocations: 4 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.3342, allocations: 486.1 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3342, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.3342, allocations: 15.92 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3342, allocations: 0 / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3343, allocations: 11.94 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3343, allocations: 0 / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3343, allocations: 0 / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3345, allocations: 239.1 kB / 1.176 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3346, allocations: 88.92 kB / 1.176 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3346, allocations: 7.938 kB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3347, allocations: 15.98 kB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.3348, allocations: 23.97 kB / 1.176 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3348, allocations: 11.98 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001181/0.335, allocations: 140.4 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.335, allocations: 0 / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003057/0.3353, allocations: 51.92 kB / 1.176 GB, free: 13.43 MB / 0.9356 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.0007055/0.336, allocations: 0.8281 MB / 1.177 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3362, allocations: 105.7 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3362, allocations: 0 / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-05/0.3363, allocations: 51.92 kB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3368, allocations: 58.06 kB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.3388, allocations: 1.899 MB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3391, allocations: 0.7281 MB / 1.179 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.499e-05/0.3392, allocations: 17.55 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.3393, allocations: 59.34 kB / 1.179 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.3393, allocations: 0 / 1.179 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3647, allocations: 5.597 MB / 1.185 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.323, allocations: 13.17 kB / 1.185 GB, free: 4.125 MB / 0.9356 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) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:booPul.period,booPul.startTime,booPul.width,booPul.y,plotConfiguration.activate,plotConfiguration.activation,plotConfiguration.activationDelay,plotConfiguration.active,plotConfiguration.samplePeriod,plotConfiguration.timeUnit,sca.activation,sca.activationDelay,sca.active,sca.n,sca.samplePeriod,sca.x,sca.y[1],scaDel.activation,scaDel.activationDelay,scaDel.active,scaDel.n,scaDel.samplePeriod,scaDel.x,scaDel.y[1],time,timeSignal.y