Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001809/0.001809, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.753/2.753, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 61.89 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003169/0.3238, allocations: 1.887 MB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3253, allocations: 0.9474 MB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.3254, allocations: 3.938 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.3256, allocations: 23.84 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.3259, allocations: 91.66 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.3262, allocations: 143.8 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.3265, allocations: 227.3 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3266, allocations: 41.66 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3268, allocations: 107.6 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02153/0.3483, allocations: 1.513 MB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-05/0.3484, allocations: 12 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3486, allocations: 35.97 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.6e-05/0.3487, allocations: 39.78 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3488, allocations: 91.53 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.3492, allocations: 195.4 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3492, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3492, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3492, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009481/0.3502, allocations: 0.5566 MB / 1.058 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3502, allocations: 15.97 kB / 1.058 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.3503, allocations: 24.75 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.3506, allocations: 240.6 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3507, allocations: 12 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.3507, allocations: 16 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.351, allocations: 116.4 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.351, allocations: 0 / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.351, allocations: 3.938 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.351, allocations: 4 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3511, allocations: 51.97 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009201/0.3521, allocations: 0.5434 MB / 1.059 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3522, allocations: 93.27 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.3523, allocations: 41.77 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3523, allocations: 4 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.3525, allocations: 124.9 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.3526, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003601/0.3529, allocations: 172.5 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.353, allocations: 81.11 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3532, allocations: 196.4 kB / 1.06 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3532, allocations: 33.7 kB / 1.06 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.3533, allocations: 124.4 kB / 1.06 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3534, allocations: 35.58 kB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-05/0.3535, allocations: 61.58 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3536, allocations: 330.9 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.3537, allocations: 39.98 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3539, allocations: 133.3 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.3541, allocations: 113.9 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3541, allocations: 0 / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002667/0.3544, allocations: 155.7 kB / 1.061 GB, free: 304 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3544, allocations: 12.16 kB / 1.061 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3544, allocations: 0 / 1.061 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3544, allocations: 4 kB / 1.061 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.3545, allocations: 23.92 kB / 1.061 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3546, allocations: 8 kB / 1.061 GB, free: 256 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.3548, allocations: 27.83 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3548, allocations: 4 kB / 1.061 GB, free: 224 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001331/0.355, allocations: 151.5 kB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.355, allocations: 19.81 kB / 1.061 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.3551, allocations: 21.52 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3551, allocations: 0 / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3551, allocations: 3.938 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3551, allocations: 4 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/0.3557, allocations: 462.2 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3557, allocations: 0 / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.3558, allocations: 8 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3558, allocations: 4 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3558, allocations: 0 / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3558, allocations: 3.938 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3558, allocations: 4 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.356, allocations: 227.1 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.3561, allocations: 100.8 kB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.3561, allocations: 8 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3563, allocations: 19.91 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.3564, allocations: 15.98 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3564, allocations: 7.984 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001233/0.3565, allocations: 148.2 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3565, allocations: 0 / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003514/0.3569, allocations: 51.91 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.000367/0.3573, allocations: 164.2 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3575, allocations: 105.2 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3575, allocations: 0 / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3576, allocations: 51.92 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.3581, allocations: 49.83 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.3588, allocations: 358.3 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3591, allocations: 0.7208 MB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.956e-05/0.3592, allocations: 21.53 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.3593, allocations: 23.42 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3593, allocations: 4 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.00789/0.3672, allocations: 3.433 MB / 1.067 GB, free: 9.965 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches