Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007846/0.007846, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001776/0.001776, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.365, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00382/0.3689, allocations: 1.737 MB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3708, allocations: 0.9085 MB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.371, allocations: 0 / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.3713, allocations: 23.73 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.3719, allocations: 123.4 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.3724, allocations: 147.7 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.3728, allocations: 247.3 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.373, allocations: 33.67 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.3732, allocations: 111.7 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.3837, allocations: 1.706 MB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3838, allocations: 20 kB / 1.172 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.384, allocations: 40 kB / 1.172 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.3841, allocations: 43.83 kB / 1.172 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.3843, allocations: 91.56 kB / 1.172 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.3848, allocations: 219.1 kB / 1.172 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3848, allocations: 0 / 1.172 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3848, allocations: 0 / 1.172 GB, free: 1.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3848, allocations: 3.938 kB / 1.172 GB, free: 1.805 MB / 0.92 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.0009636/0.3858, allocations: 0.5564 MB / 1.172 GB, free: 1.188 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3858, allocations: 8.031 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.386, allocations: 20.84 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.3863, allocations: 251.5 kB / 1.173 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3864, allocations: 12 kB / 1.173 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.3864, allocations: 8 kB / 1.173 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.3866, allocations: 95.7 kB / 1.173 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3867, allocations: 0 / 1.173 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3867, allocations: 4 kB / 1.173 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.3867, allocations: 4 kB / 1.173 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.3868, allocations: 51.97 kB / 1.173 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.3878, allocations: 464.4 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.3883, allocations: 138.7 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.3883, allocations: 36.84 kB / 1.173 GB, free: 12 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3884, allocations: 3.938 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.3886, allocations: 115.4 kB / 1.174 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.3886, allocations: 0 / 1.174 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003654/0.389, allocations: 169.4 kB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3891, allocations: 55.41 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.3893, allocations: 198.5 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3893, allocations: 33.7 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.3894, allocations: 120.5 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.3894, allocations: 31.73 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.995e-05/0.3895, allocations: 65.66 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3897, allocations: 330.8 kB / 1.175 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.3898, allocations: 31.98 kB / 1.175 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.39, allocations: 130.2 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3902, allocations: 104.2 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3902, allocations: 0 / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002552/0.3905, allocations: 154.9 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3905, allocations: 8 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3905, allocations: 0 / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3905, allocations: 4.125 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.3906, allocations: 19.92 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3906, allocations: 4 kB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.3909, allocations: 27.88 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3909, allocations: 4 kB / 1.175 GB, free: 14.32 MB / 0.9356 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.0001361/0.391, allocations: 147.5 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.3911, allocations: 19.84 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.3911, allocations: 17.88 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3911, allocations: 8 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3911, allocations: 0 / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3912, allocations: 3.984 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.3918, allocations: 0.4935 MB / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3919, allocations: 0 / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.3919, allocations: 4 kB / 1.176 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3919, allocations: 3.938 kB / 1.176 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3919, allocations: 7.984 kB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/0.3919, allocations: 7.938 kB / 1.176 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3919, allocations: 3.938 kB / 1.176 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3922, allocations: 231.2 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3923, allocations: 93 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3923, allocations: 0 / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3924, allocations: 19.92 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.3925, allocations: 23.97 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.3925, allocations: 4 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001305/0.3927, allocations: 144.5 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3927, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003215/0.393, allocations: 47.89 kB / 1.176 GB, free: 12.96 MB / 0.9356 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.0003767/0.3934, allocations: 171.5 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3937, allocations: 103.9 kB / 1.177 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3937, allocations: 256 / 1.177 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.3938, allocations: 55.92 kB / 1.177 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3942, allocations: 58.38 kB / 1.177 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.3949, allocations: 311 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3952, allocations: 0.7242 MB / 1.178 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.699e-05/0.3953, allocations: 21.53 kB / 1.178 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.3954, allocations: 23.44 kB / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.3954, allocations: 0 / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of Templates: time 0.007939/0.4033, allocations: 3.743 MB / 1.181 GB, free: 7.758 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches