Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_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.00824/0.00824, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.002047/0.002047, allocations: 192 kB / 16.67 MB, free: 6.379 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.28 kB / 0.9504 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2839, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003123/0.2871, allocations: 1.638 MB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2884, allocations: 0.5669 MB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2886, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.2889, allocations: 23.73 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.2894, allocations: 115.5 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.2899, allocations: 147.1 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000433/0.2904, allocations: 215.5 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2905, allocations: 29.52 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.2908, allocations: 103.7 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009614/0.3004, allocations: 1.579 MB / 1.092 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3005, allocations: 16 kB / 1.092 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.3007, allocations: 35.98 kB / 1.092 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.3008, allocations: 31.91 kB / 1.092 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.301, allocations: 83.5 kB / 1.092 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.3015, allocations: 200 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3015, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3015, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.3015, allocations: 0 / 1.092 GB, free: 13.67 MB / 0.8575 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.0009124/0.3024, allocations: 0.5142 MB / 1.093 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3025, allocations: 12.03 kB / 1.093 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.3025, allocations: 46.67 kB / 1.093 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.3027, allocations: 16.75 kB / 1.093 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.303, allocations: 244.2 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.303, allocations: 12 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.3031, allocations: 8 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3032, allocations: 77.66 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3033, allocations: 4 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3033, allocations: 8 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.3033, allocations: 7.922 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.3034, allocations: 43.97 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.3042, allocations: 440.4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.3044, allocations: 70.48 kB / 1.094 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.3044, allocations: 28.86 kB / 1.094 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.3044, allocations: 0 / 1.094 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.3047, allocations: 91.31 kB / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.3047, allocations: 0 / 1.094 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003122/0.305, allocations: 133.5 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3051, allocations: 63.34 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3053, allocations: 187.1 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.3053, allocations: 33.64 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.3054, allocations: 120.1 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.3055, allocations: 23.7 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3056, allocations: 53.67 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3057, allocations: 330.8 kB / 1.095 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.3058, allocations: 20 kB / 1.095 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.306, allocations: 121.9 kB / 1.095 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3061, allocations: 92.16 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3061, allocations: 0 / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002162/0.3064, allocations: 129.4 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3064, allocations: 7.938 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3064, allocations: 4 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3064, allocations: 0 / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.3065, allocations: 15.94 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3065, allocations: 0 / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.3067, allocations: 27.95 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3067, allocations: 8 kB / 1.095 GB, free: 10.43 MB / 0.8575 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.0001185/0.3069, allocations: 137.8 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.3069, allocations: 19.75 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.3069, allocations: 13.41 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3069, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.307, allocations: 8 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.307, allocations: 0 / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.3075, allocations: 442.1 kB / 1.096 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3075, allocations: 0 / 1.096 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.3075, allocations: 4 kB / 1.096 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3075, allocations: 0 / 1.096 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3075, allocations: 3.984 kB / 1.096 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3075, allocations: 0 / 1.096 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3076, allocations: 0 / 1.096 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.3078, allocations: 215.7 kB / 1.096 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.3078, allocations: 88.92 kB / 1.096 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3078, allocations: 4 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.3079, allocations: 11.98 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.308, allocations: 7.984 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.308, allocations: 4 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001188/0.3082, allocations: 145.1 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3082, allocations: 0 / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002975/0.3085, allocations: 40 kB / 1.096 GB, free: 9.215 MB / 0.8575 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.0006681/0.3091, allocations: 0.8152 MB / 1.097 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.3094, allocations: 75.91 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3094, allocations: 0 / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.3094, allocations: 32 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3098, allocations: 61.38 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3117, allocations: 1.77 MB / 1.099 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.312, allocations: 0.7163 MB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.3121, allocations: 17.55 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.3122, allocations: 51.41 kB / 1.099 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3122, allocations: 0 / 1.099 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.3371, allocations: 5.093 MB / 1.104 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.118, allocations: 14.12 kB / 1.104 GB, free: 0.5742 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches