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.004941/0.004941, 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.00127/0.00127, allocations: 201.1 kB / 16.68 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.88 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003019/0.3541, allocations: 1.63 MB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3553, allocations: 0.5694 MB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.3554, allocations: 11.94 kB / 1.244 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3556, allocations: 19.8 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.3559, allocations: 115.4 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.3563, allocations: 147.7 kB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.3566, allocations: 211.5 kB / 1.244 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3567, allocations: 25.55 kB / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3568, allocations: 99.73 kB / 1.245 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.3693, allocations: 1.571 MB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.006e-05/0.3694, allocations: 16 kB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3696, allocations: 36 kB / 1.246 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.3697, allocations: 35.83 kB / 1.246 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3698, allocations: 79.58 kB / 1.246 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.3702, allocations: 199.3 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3702, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3702, allocations: 4 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3703, allocations: 0 / 1.246 GB, free: 5.477 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.0008116/0.3711, allocations: 0.5292 MB / 1.247 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3711, allocations: 12.03 kB / 1.247 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.3712, allocations: 38.73 kB / 1.247 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.3713, allocations: 20.84 kB / 1.247 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3716, allocations: 236.4 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3716, allocations: 19.94 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.3716, allocations: 15.98 kB / 1.247 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3718, allocations: 80.14 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3718, allocations: 0 / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3719, allocations: 7.984 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3719, allocations: 0 / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.372, allocations: 39.98 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000793/0.3728, allocations: 444.4 kB / 1.248 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3729, allocations: 70.55 kB / 1.248 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.373, allocations: 32.8 kB / 1.248 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.373, allocations: 3.938 kB / 1.248 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.3733, allocations: 87.56 kB / 1.248 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 3.878e-06/0.3733, allocations: 0 / 1.248 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003042/0.3736, allocations: 133.8 kB / 1.248 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.3737, allocations: 59.41 kB / 1.248 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3739, allocations: 187 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.3739, allocations: 33.7 kB / 1.248 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.374, allocations: 124 kB / 1.249 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.374, allocations: 23.94 kB / 1.249 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.316e-05/0.3741, allocations: 57.67 kB / 1.249 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3743, allocations: 326.8 kB / 1.249 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.3744, allocations: 23.98 kB / 1.249 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3746, allocations: 119.6 kB / 1.249 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3748, allocations: 88.22 kB / 1.249 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3748, allocations: 4 kB / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002268/0.375, allocations: 132 kB / 1.249 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.375, allocations: 10.59 kB / 1.249 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.375, allocations: 8.062 kB / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3751, allocations: 4 kB / 1.249 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.3751, allocations: 12.05 kB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3752, allocations: 4 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.3753, allocations: 23.86 kB / 1.249 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3754, allocations: 11.98 kB / 1.249 GB, free: 2.219 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.0001252/0.3755, allocations: 133.8 kB / 1.249 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.3755, allocations: 19.84 kB / 1.25 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.3756, allocations: 21.41 kB / 1.25 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.3756, allocations: 0 / 1.25 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3756, allocations: 0 / 1.25 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3756, allocations: 7.984 kB / 1.25 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.3762, allocations: 434.3 kB / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3762, allocations: 0 / 1.25 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.3762, allocations: 3.984 kB / 1.25 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3762, allocations: 4 kB / 1.25 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3762, allocations: 0 / 1.25 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3762, allocations: 4 kB / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3762, allocations: 0 / 1.25 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.3765, allocations: 211.2 kB / 1.25 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.3765, allocations: 92.95 kB / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3766, allocations: 0 / 1.25 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3767, allocations: 15.92 kB / 1.25 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.3767, allocations: 11.98 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3768, allocations: 11.98 kB / 1.25 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001333/0.3769, allocations: 141.2 kB / 1.25 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3769, allocations: 0 / 1.25 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002996/0.3772, allocations: 43.94 kB / 1.25 GB, free: 0.9844 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.0007947/0.378, allocations: 0.8014 MB / 1.251 GB, free: 180 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3782, allocations: 80.03 kB / 1.251 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3783, allocations: 3.938 kB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.3783, allocations: 39.92 kB / 1.251 GB, free: 56 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3787, allocations: 43.53 kB / 1.251 GB, free: 20 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5758/0.9545, allocations: 1.77 MB / 1.253 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.9547, allocations: 0.7182 MB / 1.254 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.9548, allocations: 21.34 kB / 1.254 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.9548, allocations: 46.17 kB / 1.254 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.9548, allocations: 0 / 1.254 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/1.288, allocations: 5.012 MB / 1.259 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/9.687, allocations: 15.91 kB / 1.259 GB, free: 12.19 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 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.mat","/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