Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.009984/0.009984, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.002834/0.002834, allocations: 193 kB / 16.67 MB, free: 5.969 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.374/1.374, 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 9.1.3-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 70.31 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2846, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003667/0.2883, allocations: 1.736 MB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.2901, allocations: 0.8891 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2903, allocations: 7.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.2905, allocations: 27.72 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.291, allocations: 119.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.2914, allocations: 150.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.2918, allocations: 251.3 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.292, allocations: 45.64 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.2922, allocations: 111.7 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.304, allocations: 2.02 MB / 1.093 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.514e-05/0.3041, allocations: 16 kB / 1.093 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.3043, allocations: 39.98 kB / 1.093 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.3044, allocations: 39.89 kB / 1.093 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.3045, allocations: 99.44 kB / 1.093 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.305, allocations: 212.2 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.305, allocations: 0 / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.305, allocations: 0 / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.305, allocations: 3.938 kB / 1.093 GB, free: 12.8 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009486/0.306, allocations: 0.5489 MB / 1.094 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.306, allocations: 12.03 kB / 1.094 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.3061, allocations: 46.61 kB / 1.094 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.3062, allocations: 24.66 kB / 1.094 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.3065, allocations: 239.4 kB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3065, allocations: 8 kB / 1.094 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.3066, allocations: 20 kB / 1.094 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3068, allocations: 91.2 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3068, allocations: 3.938 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3068, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3068, allocations: 7.984 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.307, allocations: 55.92 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.3078, allocations: 472.2 kB / 1.095 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.3082, allocations: 126.8 kB / 1.095 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.3083, allocations: 40.84 kB / 1.095 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3084, allocations: 0 / 1.095 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002965/0.3087, allocations: 115.2 kB / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.3087, allocations: 0 / 1.095 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0003795/0.309, allocations: 164.5 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.3091, allocations: 59.41 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.3093, allocations: 202.2 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.3094, allocations: 37.7 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.3095, allocations: 120.5 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3095, allocations: 35.55 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3096, allocations: 53.69 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3098, allocations: 330.8 kB / 1.096 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.3098, allocations: 35.98 kB / 1.096 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.3101, allocations: 132.7 kB / 1.096 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3102, allocations: 96.17 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3102, allocations: 0 / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002646/0.3105, allocations: 164.1 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3105, allocations: 4 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3106, allocations: 4 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3106, allocations: 4 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.3107, allocations: 16 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3107, allocations: 7.938 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3109, allocations: 27.81 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3109, allocations: 8.125 kB / 1.096 GB, free: 9.258 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: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,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,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001398/0.3111, allocations: 139.5 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.3111, allocations: 19.81 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.3112, allocations: 21.86 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3112, allocations: 4 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.3112, allocations: 0 / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3112, allocations: 0 / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.3119, allocations: 0.4903 MB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3119, allocations: 0 / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.312, allocations: 7.938 kB / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.312, allocations: 0 / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.312, allocations: 7.938 kB / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.312, allocations: 0 / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.312, allocations: 0 / 1.097 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.3123, allocations: 231.1 kB / 1.097 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.3123, allocations: 92.92 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.3124, allocations: 11.98 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3125, allocations: 19.95 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.3126, allocations: 15.98 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.3126, allocations: 11.98 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000126/0.3128, allocations: 144.4 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3128, allocations: 0 / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003134/0.3131, allocations: 47.94 kB / 1.097 GB, free: 7.914 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007725/0.3139, allocations: 0.8319 MB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3141, allocations: 107.7 kB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3141, allocations: 0 / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.3142, allocations: 51.92 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.3147, allocations: 67.61 kB / 1.099 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3168, allocations: 1.88 MB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3171, allocations: 0.7203 MB / 1.101 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.363e-05/0.3172, allocations: 25.52 kB / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.3173, allocations: 59.42 kB / 1.101 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.3173, allocations: 0 / 1.101 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.3433, allocations: 5.604 MB / 1.107 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.038, allocations: 0 / 1.107 GB, free: 14.57 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches