Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0077/0.0077, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001753/0.001753, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 71.83 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3073, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003185/0.3105, allocations: 1.749 MB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.312, allocations: 0.8972 MB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.3121, allocations: 4 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.3123, allocations: 27.73 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.3127, allocations: 119.4 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.313, allocations: 149.6 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3133, allocations: 243.4 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3135, allocations: 37.66 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3136, allocations: 111.7 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.3254, allocations: 2.025 MB / 1.213 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.843e-05/0.3255, allocations: 20 kB / 1.213 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.3256, allocations: 35.94 kB / 1.213 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.3257, allocations: 43.83 kB / 1.213 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.3258, allocations: 91.5 kB / 1.213 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.3262, allocations: 219.4 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3262, allocations: 3.938 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3262, allocations: 0 / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3262, allocations: 0 / 1.213 GB, free: 4.453 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.0008024/0.327, allocations: 0.5488 MB / 1.214 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3271, allocations: 8.625 kB / 1.214 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.3272, allocations: 28.69 kB / 1.214 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.3275, allocations: 255.8 kB / 1.214 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3275, allocations: 8 kB / 1.214 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.3275, allocations: 16 kB / 1.214 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3277, allocations: 95.02 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3277, allocations: 0 / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3278, allocations: 0 / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3278, allocations: 0 / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3279, allocations: 51.97 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.3287, allocations: 464.4 kB / 1.215 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.3291, allocations: 138.7 kB / 1.215 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.3292, allocations: 36.84 kB / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3292, allocations: 0 / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.3295, allocations: 116.9 kB / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3295, allocations: 0 / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003267/0.3298, allocations: 165.3 kB / 1.215 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3298, allocations: 63.34 kB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.3301, allocations: 192.4 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.3301, allocations: 33.7 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3303, allocations: 120.5 kB / 1.216 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3303, allocations: 35.55 kB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.3304, allocations: 61.66 kB / 1.216 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3305, allocations: 326.8 kB / 1.216 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.3306, allocations: 39.98 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.3308, allocations: 126 kB / 1.216 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.331, allocations: 108.1 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.331, allocations: 0 / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002368/0.3312, allocations: 155.6 kB / 1.216 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3312, allocations: 4 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3313, allocations: 4 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3313, allocations: 3.938 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.3314, allocations: 23.92 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3314, allocations: 4.125 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.3316, allocations: 27.83 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3316, allocations: 8 kB / 1.216 GB, free: 0.9609 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.0001295/0.3317, allocations: 135.5 kB / 1.217 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.3318, allocations: 19.8 kB / 1.217 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.3318, allocations: 25.88 kB / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3318, allocations: 0 / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3318, allocations: 4 kB / 1.217 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3318, allocations: 4 kB / 1.217 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/0.3325, allocations: 492.9 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3325, allocations: 0 / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.3326, allocations: 4 kB / 1.217 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3326, allocations: 4 kB / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3326, allocations: 4 kB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.3326, allocations: 7.922 kB / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3326, allocations: 0 / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3329, allocations: 231.3 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.333, allocations: 92.91 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.333, allocations: 8 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3332, allocations: 11.92 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.3332, allocations: 23.97 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3333, allocations: 4 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001628/0.3334, allocations: 148.2 kB / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3335, allocations: 0 / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003027/0.3338, allocations: 51.91 kB / 1.218 GB, free: 15.62 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.0003139/0.3341, allocations: 168.6 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3343, allocations: 106.3 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3343, allocations: 0 / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.3344, allocations: 59.83 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3349, allocations: 54.88 kB / 1.218 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.3354, allocations: 287.3 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.3358, allocations: 0.7242 MB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.373e-05/0.3359, allocations: 33.45 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.336, allocations: 19.44 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.336, allocations: 0 / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of Templates: time 0.00733/0.3433, allocations: 3.811 MB / 1.223 GB, free: 10.38 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches