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.004651/0.004651, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001368/0.001368, allocations: 194.3 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.856/2.856, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003352/0.3265, allocations: 1.737 MB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3281, allocations: 0.9007 MB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.3282, allocations: 4 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3284, allocations: 23.72 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.3288, allocations: 127.4 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.3292, allocations: 155.6 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.3295, allocations: 231.4 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3296, allocations: 41.64 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3298, allocations: 111.6 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.3433, allocations: 1.698 MB / 1.171 GB, free: 2.742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.356e-05/0.3434, allocations: 20 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3436, allocations: 43.92 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.3437, allocations: 39.83 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3439, allocations: 87.56 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.3443, allocations: 219.2 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3443, allocations: 7.938 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3443, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3443, allocations: 0 / 1.171 GB, free: 2.332 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.0009162/0.3452, allocations: 0.5525 MB / 1.172 GB, free: 1.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3453, allocations: 8.031 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.3454, allocations: 46.73 kB / 1.172 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.3454, allocations: 24.84 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.3458, allocations: 247.4 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3458, allocations: 4 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3458, allocations: 16 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.346, allocations: 89.66 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3461, allocations: 0 / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3461, allocations: 0 / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3461, allocations: 0 / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.3462, allocations: 55.97 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.347, allocations: 468.3 kB / 1.173 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.3475, allocations: 142.6 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.352e-05/0.3476, allocations: 44.78 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3476, allocations: 3.984 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.3479, allocations: 111.4 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3479, allocations: 0 / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0003734/0.3483, allocations: 173.4 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3483, allocations: 51.41 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3486, allocations: 198.6 kB / 1.174 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3486, allocations: 33.7 kB / 1.174 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3488, allocations: 124.4 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.3488, allocations: 31.75 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3489, allocations: 57.67 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3491, allocations: 330.8 kB / 1.174 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.3492, allocations: 39.98 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.3494, allocations: 123.6 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3496, allocations: 96.23 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3496, allocations: 0 / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002859/0.3499, allocations: 163.2 kB / 1.175 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3499, allocations: 7.984 kB / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3499, allocations: 4 kB / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.35, allocations: 0 / 1.175 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.35, allocations: 15.94 kB / 1.175 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.3501, allocations: 8.125 kB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3503, allocations: 31.86 kB / 1.175 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3503, allocations: 4 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.0001493/0.3504, allocations: 139.5 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.3505, allocations: 15.91 kB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.3505, allocations: 21.86 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.3506, allocations: 4 kB / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3506, allocations: 4 kB / 1.175 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3506, allocations: 4 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.3513, allocations: 490.1 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3513, allocations: 11.92 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.3514, allocations: 4 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.3514, allocations: 4 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3514, allocations: 3.938 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3514, allocations: 3.984 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3514, allocations: 4 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.3517, allocations: 238.5 kB / 1.176 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.3518, allocations: 96.95 kB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3518, allocations: 7.938 kB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3519, allocations: 11.97 kB / 1.176 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.352, allocations: 23.98 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.352, allocations: 7.984 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001452/0.3522, allocations: 140.5 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.01e-07/0.3522, allocations: 0 / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003127/0.3525, allocations: 51.89 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.0009021/0.3534, allocations: 0.8284 MB / 1.177 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.3537, allocations: 104 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3537, allocations: 0 / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3538, 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.0004225/0.3543, allocations: 65.17 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.3566, allocations: 1.918 MB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.357, allocations: 0.7242 MB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.257e-05/0.3571, allocations: 29.47 kB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3572, allocations: 55.41 kB / 1.18 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.3572, allocations: 0 / 1.18 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.3859, allocations: 5.598 MB / 1.185 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.777, allocations: 9.359 kB / 1.185 GB, free: 4.102 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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