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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008338/0.008338, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001695/0.001695, allocations: 188.9 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.881/2.881, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 75.77 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003231/0.3197, allocations: 1.736 MB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3213, allocations: 0.9011 MB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3214, allocations: 0 / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.3216, allocations: 31.73 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.322, allocations: 119.4 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.3224, allocations: 158.4 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.3228, allocations: 239.5 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3229, allocations: 37.59 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.3231, allocations: 111.7 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009786/0.3329, allocations: 1.702 MB / 1.213 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.333, allocations: 16 kB / 1.213 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3331, allocations: 39.92 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.3331, allocations: 35.91 kB / 1.213 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3333, allocations: 95.55 kB / 1.213 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.3336, allocations: 215.3 kB / 1.213 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3336, allocations: 11.92 kB / 1.213 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3336, allocations: 0 / 1.213 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3337, allocations: 0 / 1.213 GB, free: 4.699 MB / 0.9669 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.0007695/0.3344, allocations: 0.5488 MB / 1.214 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3345, allocations: 8.625 kB / 1.214 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.3345, allocations: 20.75 kB / 1.214 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.3348, allocations: 259.7 kB / 1.214 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3349, allocations: 16 kB / 1.214 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3349, allocations: 12 kB / 1.214 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3351, allocations: 86.69 kB / 1.214 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3351, allocations: 0 / 1.214 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.3351, allocations: 8 kB / 1.214 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3351, allocations: 0 / 1.214 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3352, allocations: 47.97 kB / 1.214 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007581/0.336, allocations: 464.4 kB / 1.214 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.3364, allocations: 134.7 kB / 1.215 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.3365, allocations: 36.84 kB / 1.215 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3365, allocations: 4 kB / 1.215 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.3368, allocations: 111.2 kB / 1.215 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.3368, allocations: 0 / 1.215 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003444/0.3371, allocations: 169.3 kB / 1.215 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3372, allocations: 59.34 kB / 1.215 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3374, allocations: 201.3 kB / 1.215 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3374, allocations: 29.7 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.3375, allocations: 120.5 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.3376, allocations: 31.56 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.3377, allocations: 65.66 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3378, allocations: 330.8 kB / 1.216 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.3379, allocations: 27.98 kB / 1.216 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.3381, allocations: 131.6 kB / 1.216 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3382, allocations: 108.1 kB / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3382, allocations: 0 / 1.216 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002314/0.3385, allocations: 153.3 kB / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3385, allocations: 10.12 kB / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3385, allocations: 3.984 kB / 1.216 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3385, allocations: 4 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.3386, allocations: 19.98 kB / 1.216 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3386, allocations: 3.984 kB / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3388, allocations: 35.94 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3389, allocations: 8 kB / 1.216 GB, free: 1.203 MB / 0.9669 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.000125/0.339, allocations: 143.5 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.339, allocations: 15.81 kB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.3391, allocations: 21.86 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3391, allocations: 0 / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3391, allocations: 0 / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3391, allocations: 7.938 kB / 1.216 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.3397, allocations: 496.4 kB / 1.217 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3397, allocations: 0 / 1.217 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.538e-05/0.3398, allocations: 7.984 kB / 1.217 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3398, allocations: 0 / 1.217 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3398, allocations: 4 kB / 1.217 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3398, allocations: 3.938 kB / 1.217 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3398, allocations: 0 / 1.217 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.34, allocations: 239.2 kB / 1.217 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.3401, allocations: 88.92 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3401, allocations: 0 / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3402, allocations: 23.91 kB / 1.217 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.3403, allocations: 15.98 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.3403, allocations: 11.98 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001235/0.3405, allocations: 143.3 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3405, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002952/0.3408, allocations: 51.91 kB / 1.217 GB, free: 15.86 MB / 0.9825 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.0003047/0.3411, allocations: 167.7 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3413, allocations: 106.5 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3413, allocations: 0 / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.952e-05/0.3414, allocations: 51.92 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3418, allocations: 54.28 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.3425, allocations: 319.2 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3428, allocations: 0.7164 MB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.589e-05/0.3429, allocations: 33.52 kB / 1.219 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.3429, allocations: 27.42 kB / 1.219 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3429, allocations: 0 / 1.219 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of Templates: time 0.007654/0.3506, allocations: 3.822 MB / 1.223 GB, free: 10.58 MB / 0.9825 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