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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.00109/0.00109, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001067/0.001067, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.892/2.892, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 5.875 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3655, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.0023/0.3678, allocations: 1.502 MB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3695, allocations: 0.8972 MB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3696, allocations: 3.938 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3698, allocations: 19.8 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.3702, allocations: 107.6 kB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3707, allocations: 141.8 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.371, allocations: 199.4 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3711, allocations: 37.64 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3713, allocations: 95.61 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004924/0.3762, allocations: 3.098 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.3763, allocations: 8 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3764, allocations: 20 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.3765, allocations: 35.83 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.3766, allocations: 53.64 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.3768, allocations: 139.7 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3768, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3768, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3768, allocations: 3.938 kB / 1.064 GB, free: 14.96 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008237/0.3777, allocations: 0.5215 MB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3777, allocations: 8.031 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.3778, allocations: 23.8 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3781, allocations: 230.8 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3782, allocations: 15.94 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.3782, allocations: 16 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3784, allocations: 117 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3784, allocations: 3.938 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3785, allocations: 0 / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.3785, allocations: 11.89 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3786, allocations: 55.91 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3797, allocations: 0.5514 MB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.3799, allocations: 97.12 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.38, allocations: 41.7 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.38, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.3803, allocations: 131.7 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.3803, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003936/0.3807, allocations: 157.4 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.3808, allocations: 85.09 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.381, allocations: 199.7 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3811, allocations: 37.83 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.3812, allocations: 120.5 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.3812, allocations: 31.56 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.3813, allocations: 4 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3814, allocations: 334.8 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.3815, allocations: 36.36 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.3817, allocations: 134.7 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.3818, allocations: 36.86 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3818, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002714/0.3821, allocations: 159.7 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3821, allocations: 5.562 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3822, allocations: 4 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3822, allocations: 7.922 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.3823, allocations: 16 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3823, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3825, allocations: 31.98 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.3825, allocations: 12 kB / 1.067 GB, free: 11.47 MB / 0.8262 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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.3827, allocations: 139.5 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.3827, allocations: 15.81 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.3828, allocations: 25.52 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3828, allocations: 8.078 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.3828, allocations: 4 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3828, allocations: 3.938 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.3835, allocations: 478.2 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3835, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.3835, allocations: 7.938 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3835, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3835, allocations: 3.938 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3835, allocations: 8 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3835, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3838, allocations: 232 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.3839, allocations: 100.8 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3839, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.384, allocations: 19.98 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.3841, allocations: 23.97 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3841, allocations: 8 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001308/0.3843, allocations: 145.7 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3843, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003244/0.3846, allocations: 47.98 kB / 1.069 GB, free: 10.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003514/0.385, allocations: 162.1 kB / 1.069 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3852, allocations: 103.9 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3852, allocations: 0 / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3853, allocations: 51.92 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.3858, allocations: 53.59 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.3865, allocations: 335.8 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3868, allocations: 0.7325 MB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.117e-05/0.3869, allocations: 17.55 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.387, allocations: 23.42 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.387, allocations: 0 / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of Templates: time 0.007672/0.3946, allocations: 3.301 MB / 1.073 GB, free: 5.352 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