Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.007599/0.007599, allocations: 106.3 kB / 15.74 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.001339/0.001339, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9424/0.9436, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003239/0.9469, allocations: 1.731 MB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.9486, allocations: 0.897 MB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.9487, allocations: 1.469 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.949, allocations: 31.3 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.9495, allocations: 117.1 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.9499, allocations: 155 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.9503, allocations: 251.7 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.9505, allocations: 33.2 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.9507, allocations: 112 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.9609, allocations: 1.701 MB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.961, allocations: 17.59 kB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.9612, allocations: 37.66 kB / 1.093 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.9613, allocations: 49.02 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.9615, allocations: 83.34 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.962, allocations: 217.5 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.962, allocations: 0 / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.962, allocations: 4 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.9621, allocations: 5.094 kB / 1.093 GB, free: 2.742 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001021/0.9631, allocations: 0.5504 MB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.9631, allocations: 9.281 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.9633, allocations: 20.09 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.9636, allocations: 245.8 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.9636, allocations: 10.38 kB / 1.094 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.9637, allocations: 19.23 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.9639, allocations: 94.11 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9639, allocations: 0 / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.9639, allocations: 5.375 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.964, allocations: 2.594 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.9641, allocations: 52.12 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000893/0.965, allocations: 469.8 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.9655, allocations: 131.6 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.9656, allocations: 41.58 kB / 1.095 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.9656, allocations: 5.188 kB / 1.095 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.9658, allocations: 105.6 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.9659, allocations: 0.5625 kB / 1.095 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.000428/0.9663, allocations: 166.6 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.9663, allocations: 54.77 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.9666, allocations: 205.2 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.9666, allocations: 35.59 kB / 1.095 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.9667, allocations: 133.2 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.9667, allocations: 31.78 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.9669, allocations: 59.17 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.967, allocations: 329 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.967, allocations: 30.73 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.9673, allocations: 129.7 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.9675, allocations: 102.1 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9675, allocations: 4 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003171/0.9678, allocations: 153.3 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9678, allocations: 6.25 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.9678, allocations: 1.5 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9679, allocations: 2.344 kB / 1.096 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.9679, allocations: 17.64 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.968, allocations: 3.172 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.9682, allocations: 29.06 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.9682, allocations: 9.5 kB / 1.096 GB, free: 332 kB / 0.8575 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.000119/0.9683, allocations: 141.6 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.9684, allocations: 20.08 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.9684, allocations: 20.14 kB / 1.096 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.9684, allocations: 5.75 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.9685, allocations: 1.953 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9685, allocations: 0.7969 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.9693, allocations: 0.4942 MB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9693, allocations: 0.7969 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.9693, allocations: 5.141 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.9693, allocations: 0 / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.9693, allocations: 1.984 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.9694, allocations: 5.469 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9694, allocations: 4.75 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.9697, allocations: 228.1 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.9697, allocations: 102.8 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.9698, allocations: 1.859 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.9699, allocations: 19.66 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.295e-05/0.97, allocations: 25.02 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.97, allocations: 6.422 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000162/0.9702, allocations: 137.5 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9702, allocations: 0 / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003809/0.9706, allocations: 53.31 kB / 1.098 GB, free: 15.37 MB / 0.8731 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.0003867/0.971, allocations: 163 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.9713, allocations: 100.7 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9713, allocations: 0 / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.9714, allocations: 53.62 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.9719, allocations: 55.45 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.9728, allocations: 316.7 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.9731, allocations: 0.7245 MB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.9732, allocations: 23.98 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.9733, allocations: 23.72 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of SimCode: time 9.12e-07/0.9733, allocations: 0 / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.01207/0.9854, allocations: 3.726 MB / 1.103 GB, free: 13.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches