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.0008295/0.0008295, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006169/0.006169, allocations: 170 kB / 16.26 MB, free: 6.613 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.593/1.593, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.687/2.687, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8757, allocations: 142.4 MB / 0.955 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002279/0.878, allocations: 1.532 MB / 0.9565 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.8796, allocations: 0.9299 MB / 0.9574 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.8798, allocations: 9.125 kB / 0.9574 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.8801, allocations: 15.33 kB / 0.9575 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.8805, allocations: 99.42 kB / 0.9576 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.8809, allocations: 134.6 kB / 0.9577 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.8812, allocations: 233.1 kB / 0.9579 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.8813, allocations: 41.08 kB / 0.9579 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.8815, allocations: 98.27 kB / 0.958 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04943/0.931, allocations: 3.311 MB / 0.9613 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.9311, allocations: 9.219 kB / 0.9613 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.9313, allocations: 22.78 kB / 0.9613 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.9313, allocations: 43.31 kB / 0.9613 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.9315, allocations: 111 kB / 0.9614 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.9318, allocations: 198.9 kB / 0.9616 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9318, allocations: 0.9688 kB / 0.9616 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9318, allocations: 0 / 0.9616 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.9318, allocations: 0 / 0.9616 GB, free: 4.027 MB / 0.7169 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.0008169/0.9326, allocations: 0.5163 MB / 0.9621 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.9327, allocations: 8.938 kB / 0.9621 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.9328, allocations: 31.31 kB / 0.9622 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.933, allocations: 243.4 kB / 0.9624 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.9331, allocations: 10.31 kB / 0.9624 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.9331, allocations: 14.19 kB / 0.9624 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.9333, allocations: 92.81 kB / 0.9625 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9333, allocations: 3.938 kB / 0.9625 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.9334, allocations: 5.281 kB / 0.9625 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.9334, allocations: 1.406 kB / 0.9625 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.9335, allocations: 53.19 kB / 0.9626 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.9342, allocations: 478.7 kB / 0.963 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.9347, allocations: 152.1 kB / 0.9632 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.9348, allocations: 38.31 kB / 0.9632 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.9348, allocations: 1.5 kB / 0.9632 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.935, allocations: 115.1 kB / 0.9633 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.935, allocations: 0 / 0.9633 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003463/0.9354, allocations: 170.1 kB / 0.9635 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.9354, allocations: 51.41 kB / 0.9635 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.9355, allocations: 199.5 kB / 0.9637 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.9356, allocations: 35.11 kB / 0.9638 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.9357, allocations: 116 kB / 0.9639 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.9357, allocations: 41.23 kB / 0.9639 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.9357, allocations: 30.55 kB / 0.9639 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.9358, allocations: 335 kB / 0.9643 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.9359, allocations: 30.42 kB / 0.9643 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.9361, allocations: 131.6 kB / 0.9644 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.9363, allocations: 110.9 kB / 0.9645 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9363, allocations: 0 / 0.9645 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002602/0.9365, allocations: 156.8 kB / 0.9647 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.9366, allocations: 6.125 kB / 0.9647 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9366, allocations: 5.25 kB / 0.9647 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9366, allocations: 1.906 kB / 0.9647 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.9367, allocations: 11.97 kB / 0.9647 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.9367, allocations: 5.875 kB / 0.9647 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.9369, allocations: 32.47 kB / 0.9647 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.9369, allocations: 5.281 kB / 0.9647 GB, free: 1.344 MB / 0.7169 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.0001149/0.9371, allocations: 145 kB / 0.9649 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.9371, allocations: 19.41 kB / 0.9649 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.9372, allocations: 21.36 kB / 0.9649 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.9372, allocations: 1.969 kB / 0.9649 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9372, allocations: 1.188 kB / 0.9649 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9372, allocations: 0 / 0.9649 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.9378, allocations: 0.5045 MB / 0.9654 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.9378, allocations: 1.281 kB / 0.9654 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.9378, allocations: 10.78 kB / 0.9654 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9378, allocations: 0.9688 kB / 0.9654 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.9379, allocations: 1.156 kB / 0.9654 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9379, allocations: 4.938 kB / 0.9654 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9379, allocations: 4 kB / 0.9654 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.9381, allocations: 231.7 kB / 0.9657 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.9381, allocations: 100.9 kB / 0.9658 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.9382, allocations: 2.031 kB / 0.9658 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.9383, allocations: 23.2 kB / 0.9658 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.9384, allocations: 21.41 kB / 0.9658 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.9384, allocations: 8.969 kB / 0.9658 GB, free: 416 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001207/0.9385, allocations: 145.1 kB / 0.9659 GB, free: 304 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9386, allocations: 0 / 0.9659 GB, free: 304 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003183/0.9389, allocations: 47.98 kB / 0.966 GB, free: 292 kB / 0.7169 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.0003419/0.9392, allocations: 162.7 kB / 0.9661 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.9395, allocations: 98.91 kB / 0.9662 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9395, allocations: 1.031 kB / 0.9662 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.9396, allocations: 56.83 kB / 0.9663 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.9401, allocations: 61.84 kB / 0.9664 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.9408, allocations: 347.9 kB / 0.9667 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.9411, allocations: 0.7254 MB / 0.9674 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.247e-05/0.9412, allocations: 19.02 kB / 0.9674 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.9413, allocations: 23.67 kB / 0.9674 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.9413, allocations: 0 / 0.9674 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.008133/0.9494, allocations: 3.459 MB / 0.9708 GB, free: 13.34 MB / 0.7325 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