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.0009931/0.0009932, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.00123, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.733/2.733, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003898, allocations: 14.28 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.323, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002372/0.3254, allocations: 1.541 MB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3273, allocations: 0.9358 MB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3275, allocations: 4 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.3277, allocations: 19.86 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.3281, allocations: 95.59 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.3286, allocations: 138.5 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.3289, allocations: 235.4 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3291, allocations: 29.66 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3293, allocations: 103.7 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05053/0.3798, allocations: 3.302 MB / 1.066 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/0.38, allocations: 11.94 kB / 1.066 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.3801, allocations: 31.98 kB / 1.066 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.3802, allocations: 35.89 kB / 1.066 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.3805, allocations: 105.2 kB / 1.066 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.3808, allocations: 139.7 kB / 1.066 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3808, allocations: 0 / 1.066 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3808, allocations: 0 / 1.066 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3808, allocations: 0 / 1.066 GB, free: 15.07 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.0009438/0.3818, allocations: 0.5216 MB / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3818, allocations: 15.97 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.3819, allocations: 16.75 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.3823, allocations: 247.5 kB / 1.067 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3824, allocations: 15.94 kB / 1.067 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.3824, allocations: 12 kB / 1.067 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3826, allocations: 102.7 kB / 1.067 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3826, allocations: 0 / 1.067 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3827, allocations: 4 kB / 1.067 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3827, allocations: 4 kB / 1.067 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3828, allocations: 51.92 kB / 1.067 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.3837, allocations: 472.4 kB / 1.067 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.3842, allocations: 154.7 kB / 1.067 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.3842, allocations: 36.84 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3843, allocations: 4 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.3845, allocations: 115.1 kB / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3845, allocations: 0 / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000389/0.3849, allocations: 157.5 kB / 1.068 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3849, allocations: 55.41 kB / 1.068 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3852, allocations: 204.2 kB / 1.068 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.3852, allocations: 33.7 kB / 1.068 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.3853, allocations: 116.5 kB / 1.068 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.3854, allocations: 47.47 kB / 1.068 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.3854, allocations: 29.7 kB / 1.068 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3856, allocations: 326.8 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.3856, allocations: 31.98 kB / 1.069 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3859, allocations: 132.2 kB / 1.069 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.386, allocations: 98.56 kB / 1.069 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3861, allocations: 4 kB / 1.069 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002657/0.3863, allocations: 153.3 kB / 1.069 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3864, allocations: 5.875 kB / 1.069 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.3864, allocations: 4 kB / 1.069 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3864, allocations: 0 / 1.069 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.3865, allocations: 27.86 kB / 1.069 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3865, allocations: 4 kB / 1.069 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3867, allocations: 32.02 kB / 1.069 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3867, allocations: 4 kB / 1.069 GB, free: 11.61 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,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.000152/0.3869, allocations: 143.5 kB / 1.069 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3869, allocations: 19.8 kB / 1.069 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.387, allocations: 17.88 kB / 1.069 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.387, allocations: 7.984 kB / 1.069 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.387, allocations: 3.938 kB / 1.069 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.387, allocations: 0 / 1.069 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.3878, allocations: 0.502 MB / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3878, allocations: 0 / 1.07 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.3878, allocations: 11.98 kB / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3878, allocations: 0 / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3878, allocations: 0 / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3878, allocations: 3.938 kB / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3878, allocations: 0 / 1.07 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3881, allocations: 234.5 kB / 1.07 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.3882, allocations: 92.92 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3882, allocations: 7.938 kB / 1.07 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3884, allocations: 27.91 kB / 1.07 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.3885, allocations: 19.97 kB / 1.07 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3885, allocations: 4 kB / 1.07 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001307/0.3886, allocations: 148.2 kB / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3886, allocations: 0 / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003305/0.389, allocations: 43.91 kB / 1.07 GB, free: 10.24 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 (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.000382/0.3894, allocations: 178.9 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3896, allocations: 102.3 kB / 1.07 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3896, allocations: 0 / 1.07 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3898, allocations: 58.02 kB / 1.071 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3902, allocations: 47.72 kB / 1.071 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007247/0.3909, allocations: 389.8 kB / 1.071 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3913, allocations: 0.7283 MB / 1.072 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.3913, allocations: 19.44 kB / 1.072 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3913, allocations: 0 / 1.072 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of Templates: time 0.006521/0.3979, allocations: 3.186 MB / 1.075 GB, free: 5.516 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches