Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.748/2.748, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.3 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2874, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003039/0.2904, allocations: 1.73 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.292, allocations: 0.9084 MB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2921, allocations: 0 / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.2923, allocations: 27.72 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.2927, allocations: 115.5 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.2932, allocations: 151.1 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.2935, allocations: 247.4 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.2937, allocations: 41.59 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.2939, allocations: 107.7 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009956/0.3038, allocations: 1.688 MB / 1.073 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.3039, allocations: 16 kB / 1.073 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.304, allocations: 35.98 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.145e-05/0.3041, allocations: 43.83 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.3042, allocations: 87.58 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.3046, allocations: 219.3 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3046, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3046, allocations: 4 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3046, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 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.0008488/0.3055, allocations: 0.545 MB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3055, allocations: 8.031 kB / 1.074 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.3056, allocations: 28.66 kB / 1.074 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3059, allocations: 247.5 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3059, allocations: 4 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.306, allocations: 16 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3061, allocations: 94.84 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3062, allocations: 0 / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3062, allocations: 3.984 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3062, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3063, allocations: 59.86 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.3071, allocations: 460.4 kB / 1.075 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.3076, allocations: 146.6 kB / 1.075 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.3076, allocations: 36.84 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3077, allocations: 0 / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.3079, allocations: 117.1 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.3079, allocations: 0 / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003421/0.3082, allocations: 161.5 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3083, allocations: 59.34 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3085, allocations: 200.3 kB / 1.076 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.3085, allocations: 33.7 kB / 1.076 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.3086, allocations: 116.5 kB / 1.076 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.3086, allocations: 39.53 kB / 1.076 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.3087, allocations: 57.67 kB / 1.076 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.3088, allocations: 330.8 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.3089, allocations: 35.98 kB / 1.076 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.3091, allocations: 130.7 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3093, allocations: 106.8 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3093, allocations: 0 / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002513/0.3096, allocations: 161.2 kB / 1.077 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3096, allocations: 4 kB / 1.077 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3096, allocations: 4 kB / 1.077 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3096, allocations: 4.125 kB / 1.077 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.3097, allocations: 19.98 kB / 1.077 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3097, allocations: 4 kB / 1.077 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3099, allocations: 23.92 kB / 1.077 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3099, allocations: 7.984 kB / 1.077 GB, free: 1.977 MB / 0.8262 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.0001214/0.3101, allocations: 143.5 kB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3101, allocations: 19.72 kB / 1.077 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.3102, allocations: 17.88 kB / 1.077 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3102, allocations: 8 kB / 1.077 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3102, allocations: 0 / 1.077 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3102, allocations: 7.922 kB / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.3108, allocations: 492 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3108, allocations: 0 / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.3109, allocations: 11.94 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3109, allocations: 4 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3109, allocations: 4.031 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3109, allocations: 7.938 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3109, allocations: 3.984 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.3112, allocations: 223.3 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3112, allocations: 96.91 kB / 1.078 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.3112, allocations: 0 / 1.078 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3114, allocations: 19.92 kB / 1.078 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.3115, allocations: 23.97 kB / 1.078 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3115, allocations: 4 kB / 1.078 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001181/0.3116, allocations: 139.2 kB / 1.078 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3116, allocations: 0 / 1.078 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003126/0.3119, allocations: 47.94 kB / 1.078 GB, free: 0.6289 MB / 0.8262 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.000317/0.3123, allocations: 171.7 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.3125, allocations: 118.7 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3125, allocations: 4.062 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.34e-05/0.3126, allocations: 47.98 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.3131, allocations: 54.56 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006834/0.3138, allocations: 315.2 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.314, allocations: 0.7242 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.3141, allocations: 33.45 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.3142, allocations: 23.44 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of SimCode: time 1.412e-06/0.3142, allocations: 0 / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.007725/0.3219, allocations: 3.726 MB / 1.083 GB, free: 11.44 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches