Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.002087/0.002087, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.473/1.473, 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 11.1.0-maint.11.x/package.mo): time 2.91/2.91, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.91 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003538/0.3328, allocations: 1.638 MB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.334, allocations: 0.5733 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.3341, allocations: 3.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.3344, allocations: 27.72 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.3348, allocations: 107.5 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.3352, allocations: 151.5 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.3355, allocations: 219.5 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3357, allocations: 29.53 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3358, allocations: 95.73 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.3487, allocations: 1.58 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.3488, allocations: 16 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3489, allocations: 32 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.349, allocations: 35.84 kB / 1.225 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3492, allocations: 87.56 kB / 1.225 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.3495, allocations: 191.3 kB / 1.225 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3496, allocations: 0 / 1.225 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.077e-06/0.3496, allocations: 0 / 1.225 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3496, allocations: 3.938 kB / 1.225 GB, free: 9.957 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008731/0.3505, allocations: 0.5253 MB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3505, allocations: 8.031 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.3506, allocations: 42.73 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.3506, allocations: 24.84 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.351, allocations: 236.4 kB / 1.226 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.351, allocations: 7.938 kB / 1.226 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.3511, allocations: 16 kB / 1.226 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3513, allocations: 81.59 kB / 1.226 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3513, allocations: 0 / 1.226 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3513, allocations: 4 kB / 1.226 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3513, allocations: 4 kB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3514, allocations: 43.97 kB / 1.226 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.3523, allocations: 440.4 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.3525, allocations: 70.55 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.3526, allocations: 24.86 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3526, allocations: 11.98 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.3528, allocations: 87.44 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3529, allocations: 0 / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003313/0.3532, allocations: 137.5 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3532, allocations: 51.41 kB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3535, allocations: 195 kB / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.3535, allocations: 29.7 kB / 1.227 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3536, allocations: 120.1 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3537, allocations: 31.91 kB / 1.227 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.3538, allocations: 49.69 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3539, allocations: 334.8 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.354, allocations: 24 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.3543, allocations: 123.5 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.3544, allocations: 87.97 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3544, allocations: 0 / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002369/0.3547, allocations: 145.4 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3547, allocations: 11.94 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3547, allocations: 0 / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3547, allocations: 4 kB / 1.228 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.3548, allocations: 8 kB / 1.228 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3549, allocations: 4 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.355, allocations: 19.92 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3551, allocations: 4 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001518/0.3552, allocations: 141.7 kB / 1.228 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3553, allocations: 23.8 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.3553, allocations: 17.41 kB / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3553, allocations: 0 / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3553, allocations: 0 / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3553, allocations: 0 / 1.228 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.3559, allocations: 434.7 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3559, allocations: 4 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.3559, allocations: 4 kB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.356, allocations: 4 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.356, allocations: 11.98 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.356, allocations: 0 / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.356, allocations: 0 / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3562, allocations: 207.4 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.3563, allocations: 96.95 kB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3564, allocations: 0 / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3565, allocations: 11.98 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.3565, allocations: 19.92 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3566, allocations: 4 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001476/0.3567, allocations: 137.2 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3567, allocations: 0 / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002992/0.357, allocations: 36 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008362/0.3579, allocations: 0.8036 MB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3581, allocations: 79.84 kB / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3581, allocations: 0 / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.3582, allocations: 39.92 kB / 1.23 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.3587, allocations: 45.61 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.361, allocations: 1.778 MB / 1.231 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.3614, allocations: 0.7163 MB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.791e-05/0.3615, allocations: 21.47 kB / 1.232 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.3616, allocations: 51.34 kB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3616, allocations: 0 / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.3911, allocations: 5.009 MB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/8.73, allocations: 16.5 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches