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.001217/0.001217, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.001195/0.001195, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.09 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.383/2.383, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 67.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003279/1.128, allocations: 1.734 MB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001603/1.13, allocations: 0.898 MB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/1.13, allocations: 5.031 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/1.13, allocations: 27.16 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000408/1.13, allocations: 118.5 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/1.131, allocations: 155.6 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/1.131, allocations: 243.6 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/1.131, allocations: 33.66 kB / 1.092 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/1.131, allocations: 111.5 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/1.142, allocations: 1.704 MB / 1.093 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/1.142, allocations: 17.41 kB / 1.094 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/1.142, allocations: 41.61 kB / 1.094 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.67e-05/1.142, allocations: 36.78 kB / 1.094 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001875/1.142, allocations: 96.09 kB / 1.094 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006389/1.143, allocations: 212.9 kB / 1.094 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.143, allocations: 1.219 kB / 1.094 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/1.143, allocations: 0 / 1.094 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.3e-05/1.143, allocations: 0 / 1.094 GB, free: 2.738 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.001135/1.144, allocations: 0.5501 MB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.144, allocations: 9.969 kB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/1.144, allocations: 27.89 kB / 1.094 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/1.145, allocations: 238.3 kB / 1.095 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/1.145, allocations: 10.31 kB / 1.095 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/1.145, allocations: 14.78 kB / 1.095 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/1.145, allocations: 94 kB / 1.095 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.145, allocations: 0 / 1.095 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/1.145, allocations: 2.391 kB / 1.095 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.145, allocations: 1.594 kB / 1.095 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/1.145, allocations: 64.33 kB / 1.095 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/1.146, allocations: 465.7 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/1.147, allocations: 135.6 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/1.147, allocations: 37.12 kB / 1.095 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/1.147, allocations: 6.547 kB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/1.147, allocations: 111.4 kB / 1.096 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/1.147, allocations: 0 / 1.096 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004668/1.148, allocations: 164 kB / 1.096 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1.148, allocations: 55.77 kB / 1.096 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/1.148, allocations: 201.8 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/1.148, allocations: 36.89 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/1.148, allocations: 130.8 kB / 1.096 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/1.148, allocations: 31.61 kB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/1.148, allocations: 56.34 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/1.148, allocations: 328.9 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/1.148, allocations: 34.28 kB / 1.097 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/1.149, allocations: 139.5 kB / 1.097 GB, free: 496 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/1.149, allocations: 98.3 kB / 1.097 GB, free: 428 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.149, allocations: 1.094 kB / 1.097 GB, free: 428 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000314/1.149, allocations: 156.8 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.149, allocations: 5.5 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.149, allocations: 1.719 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.149, allocations: 2.922 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/1.149, allocations: 17.97 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/1.149, allocations: 2.5 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/1.15, allocations: 28.41 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/1.15, allocations: 13.62 kB / 1.097 GB, free: 320 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.0001353/1.15, allocations: 141.5 kB / 1.097 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/1.15, allocations: 17.17 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/1.15, allocations: 19.97 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.15, allocations: 1.219 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.15, allocations: 1.719 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.15, allocations: 0.7969 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/1.151, allocations: 0.4935 MB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.151, allocations: 0 / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/1.151, allocations: 13.39 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.151, allocations: 0 / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.151, allocations: 2 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/1.151, allocations: 5.781 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.151, allocations: 0 / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/1.151, allocations: 222.9 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/1.151, allocations: 98.05 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/1.151, allocations: 5.891 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/1.151, allocations: 16.08 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.152, allocations: 24.22 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/1.152, allocations: 14.36 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001662/1.152, allocations: 137.6 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.81e-07/1.152, allocations: 0 / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000372/1.152, allocations: 50.33 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.0004354/1.153, allocations: 174.3 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003154/1.153, allocations: 103.1 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.153, allocations: 1.125 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/1.153, allocations: 52.55 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/1.154, allocations: 55.5 kB / 1.099 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000881/1.154, allocations: 342.4 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/1.155, allocations: 0.7229 MB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/1.155, allocations: 23.61 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of SimCode: time 3.51e-07/1.155, allocations: 0 / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.01293/1.168, allocations: 3.232 MB / 1.103 GB, free: 13.89 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches