Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_latest_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.006127/0.006127, 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.001549/0.001549, allocations: 194.8 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.432/1.432, 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 12.0.0-master/package.mo): time 2.94/2.94, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 60.12 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3388, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002989/0.3419, allocations: 1.626 MB / 1.243 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.343, allocations: 0.5733 MB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.3431, allocations: 0 / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.3434, allocations: 27.73 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.3437, allocations: 111.4 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3441, allocations: 155.3 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.3444, allocations: 207.5 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3445, allocations: 25.53 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3446, allocations: 107.7 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.3573, allocations: 1.569 MB / 1.246 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.3574, allocations: 16 kB / 1.246 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.3575, allocations: 32 kB / 1.246 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.3576, allocations: 35.89 kB / 1.246 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.3578, allocations: 87.5 kB / 1.246 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.3582, allocations: 191.3 kB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3582, allocations: 3.938 kB / 1.246 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3582, allocations: 0 / 1.246 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.3583, allocations: 0 / 1.246 GB, free: 5.895 MB / 0.9981 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.0009409/0.3592, allocations: 0.5253 MB / 1.247 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3593, allocations: 8.031 kB / 1.247 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.3593, allocations: 38.75 kB / 1.247 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.3594, allocations: 24.84 kB / 1.247 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.3598, allocations: 244.3 kB / 1.247 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3598, allocations: 11.94 kB / 1.247 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.3598, allocations: 16 kB / 1.247 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.36, allocations: 80.05 kB / 1.247 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.36, allocations: 11.98 kB / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3601, allocations: 0 / 1.247 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3601, allocations: 4 kB / 1.247 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3602, allocations: 43.92 kB / 1.247 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000831/0.361, allocations: 440.4 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3612, allocations: 74.5 kB / 1.248 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.3613, allocations: 24.84 kB / 1.248 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3613, allocations: 8 kB / 1.248 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.3615, allocations: 83.31 kB / 1.248 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.3615, allocations: 0 / 1.248 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003116/0.3619, allocations: 137.6 kB / 1.248 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3619, allocations: 55.41 kB / 1.248 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3621, allocations: 191.1 kB / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3622, allocations: 33.7 kB / 1.248 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3623, allocations: 116.1 kB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.3623, allocations: 27.88 kB / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/0.3624, allocations: 53.67 kB / 1.248 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3626, allocations: 326.8 kB / 1.249 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.3627, allocations: 27.98 kB / 1.249 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.3629, allocations: 114.2 kB / 1.249 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3631, allocations: 92.22 kB / 1.249 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3631, allocations: 0 / 1.249 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002656/0.3633, allocations: 136 kB / 1.249 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3634, allocations: 11.94 kB / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3634, allocations: 0 / 1.249 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3634, allocations: 4 kB / 1.249 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.3635, allocations: 15.92 kB / 1.249 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3635, allocations: 4 kB / 1.249 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.3637, allocations: 28 kB / 1.249 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3638, allocations: 4 kB / 1.249 GB, free: 2.645 MB / 0.9981 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.0001511/0.3639, allocations: 129.8 kB / 1.249 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.364, allocations: 23.78 kB / 1.249 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.364, allocations: 21.39 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.364, allocations: 0 / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.364, allocations: 0 / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.364, allocations: 0 / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.3646, allocations: 434.2 kB / 1.25 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3647, allocations: 3.984 kB / 1.25 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.3647, allocations: 4 kB / 1.25 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3647, allocations: 0 / 1.25 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3647, allocations: 4 kB / 1.25 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3647, allocations: 0 / 1.25 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3647, allocations: 0 / 1.25 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.365, allocations: 215.3 kB / 1.25 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.3651, allocations: 92.98 kB / 1.25 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3651, allocations: 3.938 kB / 1.25 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.3652, allocations: 8 kB / 1.25 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.3653, allocations: 19.95 kB / 1.25 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3653, allocations: 11.98 kB / 1.25 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001468/0.3655, allocations: 141.1 kB / 1.25 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3655, allocations: 0 / 1.25 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003142/0.3658, allocations: 39.89 kB / 1.25 GB, free: 1.41 MB / 0.9981 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.0008314/0.3666, allocations: 0.7966 MB / 1.251 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3669, allocations: 87.78 kB / 1.251 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3669, allocations: 0 / 1.251 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.3669, allocations: 35.98 kB / 1.251 GB, free: 500 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3674, allocations: 53.03 kB / 1.251 GB, free: 452 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6251/0.9925, allocations: 1.764 MB / 1.253 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.9927, allocations: 0.7137 MB / 1.253 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.9928, allocations: 24.17 kB / 1.253 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.9929, allocations: 47.66 kB / 1.253 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9929, allocations: 0 / 1.253 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/1.021, allocations: 5.018 MB / 1.258 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.929, allocations: 9.469 kB / 1.258 GB, free: 12.66 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches