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.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.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.001115/0.001116, allocations: 86.72 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.001407/0.001407, 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.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.901/2.901, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005005, allocations: 12.38 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3927, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002441/0.3952, allocations: 1.502 MB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3969, allocations: 0.8933 MB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.3971, allocations: 7.938 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.3973, allocations: 23.78 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.3978, allocations: 99.58 kB / 1.06 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.3982, allocations: 143.7 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.3985, allocations: 191.5 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.3987, allocations: 33.61 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.3989, allocations: 103.7 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.4038, allocations: 3.125 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.937e-05/0.4039, allocations: 8 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.4041, allocations: 27.92 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.4041, allocations: 31.84 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.4042, allocations: 53.64 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.4045, allocations: 139.7 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4045, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4045, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.4045, allocations: 0 / 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008747/0.4054, allocations: 0.5331 MB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4055, allocations: 8.031 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.262e-05/0.4055, allocations: 19.81 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.4059, allocations: 230.8 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4059, allocations: 11.94 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.406, allocations: 15.94 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.4062, allocations: 85.66 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4062, allocations: 4 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.4062, allocations: 11.98 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4062, allocations: 3.953 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4064, allocations: 49.34 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.4072, allocations: 484.4 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.4077, allocations: 146.7 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.4078, allocations: 36.84 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.4078, allocations: 4 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.4081, allocations: 107.3 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.4081, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003515/0.4084, allocations: 164.1 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.4085, allocations: 59.34 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.4087, allocations: 191.7 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.4088, allocations: 33.7 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4089, allocations: 132.4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.4089, allocations: 31.55 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.409, allocations: 8 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4091, allocations: 330.8 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.4092, allocations: 32.36 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.4094, allocations: 125.2 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.4095, allocations: 45.72 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4095, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002582/0.4098, allocations: 149.3 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4098, allocations: 7.984 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.4098, allocations: 4.047 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4099, allocations: 12.05 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.4099, allocations: 15.94 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.41, allocations: 4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.4102, allocations: 27.98 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4102, allocations: 7.984 kB / 1.067 GB, free: 11.62 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,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,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) * 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.0001447/0.4103, allocations: 143.4 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.4104, allocations: 19.72 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.4105, allocations: 29.8 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4105, allocations: 4 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4105, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.4105, allocations: 0 / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/0.4112, allocations: 0.4943 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4113, allocations: 0 / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.4113, allocations: 7.984 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4113, allocations: 4 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.4113, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.4113, allocations: 3.984 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4113, allocations: 7.891 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.4116, allocations: 237.7 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.4117, allocations: 88.92 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.4117, allocations: 7.984 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4118, allocations: 15.98 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.4119, allocations: 27.92 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.4119, allocations: 4 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001281/0.4121, allocations: 145.7 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.5e-07/0.4121, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003276/0.4124, allocations: 51.89 kB / 1.068 GB, free: 10.25 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 (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.0003927/0.4128, allocations: 179.2 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.4131, allocations: 91.91 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4131, allocations: 4 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4132, allocations: 51.92 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.4136, allocations: 58.19 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.4144, allocations: 342.7 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4147, allocations: 0.7167 MB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.391e-05/0.4148, allocations: 25.53 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.4149, allocations: 19.44 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.4149, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of Templates: time 0.008167/0.4231, allocations: 3.342 MB / 1.073 GB, free: 5.426 MB / 0.8262 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