Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.007499/0.007499, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.001772/0.001772, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.618/2.618, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3142, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00347/0.3177, allocations: 1.739 MB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.3195, allocations: 0.9046 MB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3197, allocations: 0 / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3199, allocations: 31.72 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.3204, allocations: 123.4 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000427/0.3208, allocations: 155.3 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.3212, allocations: 243.3 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3213, allocations: 45.64 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.3215, allocations: 107.7 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.3337, allocations: 1.993 MB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.3338, allocations: 20 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3339, allocations: 36 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.334, allocations: 43.83 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3342, allocations: 91.56 kB / 1.172 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004738/0.3347, allocations: 223.1 kB / 1.172 GB, free: 2.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3347, allocations: 0 / 1.172 GB, free: 2.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3347, allocations: 0 / 1.172 GB, free: 2.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.3347, allocations: 0 / 1.172 GB, free: 2.098 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009367/0.3357, allocations: 0.5526 MB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3357, allocations: 12.03 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/0.3358, allocations: 46.73 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.3359, allocations: 20.78 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.3362, allocations: 251.3 kB / 1.173 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3362, allocations: 8 kB / 1.173 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.3363, allocations: 16 kB / 1.173 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.3365, allocations: 118 kB / 1.173 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3365, allocations: 4 kB / 1.173 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3366, allocations: 4 kB / 1.173 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3366, allocations: 0 / 1.173 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.3367, allocations: 51.97 kB / 1.173 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.3376, allocations: 0.5512 MB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3378, allocations: 93.27 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.3379, allocations: 37.77 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3379, allocations: 15.92 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.3382, allocations: 125 kB / 1.174 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.3383, allocations: 0 / 1.174 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003822/0.3386, allocations: 157.5 kB / 1.174 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3387, allocations: 85.11 kB / 1.174 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3389, allocations: 206.6 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.339, allocations: 33.7 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.3391, allocations: 124.5 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.3391, allocations: 39.72 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.3392, allocations: 53.69 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3393, allocations: 330.8 kB / 1.175 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.3394, allocations: 35.98 kB / 1.175 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3397, allocations: 139.8 kB / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3399, allocations: 113.9 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3399, allocations: 0 / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002646/0.3401, allocations: 164.7 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3402, allocations: 8 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3402, allocations: 0 / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3402, allocations: 4 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.3403, allocations: 24.08 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3403, allocations: 0 / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3406, allocations: 27.94 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3406, allocations: 4 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001377/0.3407, allocations: 147.4 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.3408, allocations: 15.91 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.3408, allocations: 21.52 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3408, allocations: 7.938 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3408, allocations: 4 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3408, allocations: 3.938 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.3415, allocations: 462.3 kB / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3415, allocations: 0 / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.3415, allocations: 4 kB / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3415, allocations: 0 / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3415, allocations: 11.94 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3415, allocations: 0 / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3416, allocations: 4 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3418, allocations: 232.1 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.3419, allocations: 93.02 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.3419, allocations: 7.938 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3421, allocations: 19.97 kB / 1.176 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.3421, allocations: 15.98 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.3422, allocations: 11.98 kB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001244/0.3423, allocations: 136.5 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3423, allocations: 0 / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003475/0.3427, allocations: 55.88 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0007452/0.3434, allocations: 0.8329 MB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3437, allocations: 115.2 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3437, allocations: 0 / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.3438, allocations: 51.92 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.3442, allocations: 46.92 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3463, allocations: 1.926 MB / 1.179 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3466, allocations: 0.7203 MB / 1.18 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.258e-05/0.3467, allocations: 29.62 kB / 1.18 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.3468, allocations: 55.41 kB / 1.18 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3468, allocations: 0 / 1.18 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.3698, allocations: 5.556 MB / 1.185 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.434, allocations: 11.39 kB / 1.185 GB, free: 3.719 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches