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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 217.8 kB / 22.26 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.929/2.929, allocations: 476.8 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 65.05 kB / 1.117 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 169.9 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003388/0.3533, allocations: 1.662 MB / 1.285 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3546, allocations: 0.5825 MB / 1.286 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.3547, allocations: 3.938 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.3549, allocations: 23.73 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.3553, allocations: 115.5 kB / 1.286 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.3557, allocations: 167.5 kB / 1.286 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.356, allocations: 211.5 kB / 1.286 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3561, allocations: 17.72 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3563, allocations: 99.75 kB / 1.286 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01283/0.3691, allocations: 1.577 MB / 1.288 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.1e-05/0.3692, allocations: 16 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3693, allocations: 39.97 kB / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.3694, allocations: 31.91 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3695, allocations: 87.56 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.3699, allocations: 195.2 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3699, allocations: 4 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.279e-05/0.3699, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.3699, allocations: 0 / 1.288 GB, free: 15.39 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.000794/0.3707, allocations: 460.8 kB / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3707, allocations: 8.031 kB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3708, allocations: 38.75 kB / 1.289 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.3709, allocations: 20.84 kB / 1.289 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.3712, allocations: 194.4 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3712, allocations: 4 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.3712, allocations: 12 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3714, allocations: 81.66 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.3714, allocations: 0 / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3714, allocations: 0 / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3714, allocations: 7.984 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3715, allocations: 43.2 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007992/0.3723, allocations: 419.5 kB / 1.289 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3725, allocations: 58.56 kB / 1.289 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.3725, allocations: 28.78 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3725, allocations: 8.125 kB / 1.289 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.3727, allocations: 95.33 kB / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3727, allocations: 0 / 1.289 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0003017/0.373, allocations: 129.5 kB / 1.29 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3731, allocations: 59.33 kB / 1.29 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3733, allocations: 183.3 kB / 1.29 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.3733, allocations: 33.7 kB / 1.29 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3734, allocations: 120.1 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3734, allocations: 35.78 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.3735, allocations: 53.69 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3737, allocations: 322.8 kB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.3737, allocations: 27.98 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.374, allocations: 115.7 kB / 1.29 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3741, allocations: 80.98 kB / 1.291 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3741, allocations: 4 kB / 1.291 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002354/0.3743, allocations: 143.8 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3744, allocations: 9.969 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3744, allocations: 0 / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3744, allocations: 4 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.3745, allocations: 11.98 kB / 1.291 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3745, allocations: 7.938 kB / 1.291 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3746, allocations: 23.88 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.3747, allocations: 4 kB / 1.291 GB, free: 12.36 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.0001214/0.3748, allocations: 125.9 kB / 1.291 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.3748, allocations: 31.78 kB / 1.291 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.3749, allocations: 17.39 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3749, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3749, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3749, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.3754, allocations: 417.2 kB / 1.291 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3754, allocations: 4 kB / 1.291 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.3754, allocations: 3.938 kB / 1.291 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3754, allocations: 8 kB / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3754, allocations: 0 / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3754, allocations: 4 kB / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3755, allocations: 0 / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.3757, allocations: 207.3 kB / 1.292 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.3757, allocations: 15.89 kB / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3757, allocations: 0 / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3758, allocations: 8 kB / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3759, allocations: 19.97 kB / 1.292 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.3759, allocations: 4 kB / 1.292 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00013/0.376, allocations: 141.8 kB / 1.292 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.376, allocations: 0 / 1.292 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003016/0.3763, allocations: 35.94 kB / 1.292 GB, free: 11.26 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.0007956/0.3771, allocations: 0.8066 MB / 1.293 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3773, allocations: 71.91 kB / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3773, allocations: 0 / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.3774, allocations: 47.84 kB / 1.293 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.3778, allocations: 47.17 kB / 1.293 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.3799, allocations: 1.783 MB / 1.294 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3803, allocations: 0.7203 MB / 1.295 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.767e-05/0.3804, allocations: 17.48 kB / 1.295 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.3804, allocations: 47.41 kB / 1.295 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3804, allocations: 0 / 1.295 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.4176, allocations: 5.205 MB / 1.3 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 6.797 kB / 1.3 GB, free: 2.559 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.76793914893642]