Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.008787/0.008787, allocations: 98.56 kB / 15.73 MB, free: 6.008 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.001981/0.001981, allocations: 195.1 kB / 16.68 MB, free: 5.934 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: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 59.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.081, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003187/1.084, allocations: 1.738 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001698/1.086, allocations: 0.8911 MB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/1.086, allocations: 5.781 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002074/1.086, allocations: 34.8 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/1.087, allocations: 118 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/1.087, allocations: 149.2 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000307/1.088, allocations: 246.4 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/1.088, allocations: 37.42 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/1.088, allocations: 111.6 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009815/1.098, allocations: 1.666 MB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/1.098, allocations: 18.03 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/1.098, allocations: 41.38 kB / 1.093 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/1.098, allocations: 41.56 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/1.098, allocations: 96.59 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005936/1.099, allocations: 219.8 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.099, allocations: 0.5625 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.724e-06/1.099, allocations: 0 / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.099, allocations: 0.875 kB / 1.093 GB, free: 2.734 MB / 0.8575 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.001022/1.1, allocations: 0.5548 MB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.1, allocations: 9.969 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/1.1, allocations: 28.59 kB / 1.094 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/1.1, allocations: 249.3 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.101, allocations: 10.62 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/1.101, allocations: 14.94 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/1.101, allocations: 115 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.101, allocations: 0 / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/1.101, allocations: 6.375 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/1.101, allocations: 2.594 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/1.101, allocations: 52.81 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000966/1.102, allocations: 0.5424 MB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/1.102, allocations: 96.12 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/1.102, allocations: 42.09 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/1.102, allocations: 2.094 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/1.103, allocations: 131.6 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/1.103, allocations: 3.938 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004519/1.103, allocations: 159.2 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/1.103, allocations: 86.48 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/1.103, allocations: 206 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/1.104, allocations: 35.62 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/1.104, allocations: 129.8 kB / 1.096 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/1.104, allocations: 35.31 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/1.104, allocations: 60.45 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/1.104, allocations: 328.5 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/1.104, allocations: 30.55 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/1.104, allocations: 142.5 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/1.104, allocations: 108.9 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.104, allocations: 4.969 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003174/1.105, allocations: 156.2 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.105, allocations: 5.75 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.105, allocations: 3.016 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.105, allocations: 2.406 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.105, allocations: 19.23 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/1.105, allocations: 2.375 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/1.105, allocations: 33.12 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.105, allocations: 9.812 kB / 1.096 GB, free: 80 kB / 0.8575 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.0001739/1.105, allocations: 139 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/1.106, allocations: 20.56 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/1.106, allocations: 24.5 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.106, allocations: 6.672 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.106, allocations: 0.5625 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.106, allocations: 2.312 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007762/1.106, allocations: 466.8 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.106, allocations: 1.453 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/1.106, allocations: 9.578 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.106, allocations: 0 / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.106, allocations: 3.547 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.106, allocations: 4.734 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.107, allocations: 1.562 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/1.107, allocations: 231.5 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/1.107, allocations: 99.03 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/1.107, allocations: 10.64 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.107, allocations: 15.72 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/1.107, allocations: 18.38 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/1.107, allocations: 7.469 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000156/1.107, allocations: 142.2 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.107, allocations: 4 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003767/1.108, allocations: 45.88 kB / 1.098 GB, free: 15.13 MB / 0.8731 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.0004074/1.108, allocations: 172.6 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002994/1.108, allocations: 98.16 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.108, allocations: 0.9062 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.109, allocations: 51.02 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/1.109, allocations: 64.59 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/1.11, allocations: 315.6 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/1.11, allocations: 0.7269 MB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.11, allocations: 21.89 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/1.111, allocations: 21.8 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/1.111, allocations: 4.688 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.01255/1.123, allocations: 3.655 MB / 1.103 GB, free: 13.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches