Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.88 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003733/0.35, allocations: 1.756 MB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3519, allocations: 0.9241 MB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.352, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.3523, allocations: 31.66 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.3527, allocations: 123.4 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.3532, allocations: 155.3 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.3535, allocations: 243.3 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3537, allocations: 25.67 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3538, allocations: 115.7 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01609/0.3699, allocations: 2.033 MB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/0.37, allocations: 20 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.3702, allocations: 39.98 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.005e-05/0.3703, allocations: 43.83 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3704, allocations: 87.52 kB / 1.222 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.3709, allocations: 211.2 kB / 1.222 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3709, allocations: 8 kB / 1.222 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3709, allocations: 0 / 1.222 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.3709, allocations: 0 / 1.222 GB, free: 10.04 MB / 0.9669 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.0009526/0.3718, allocations: 0.5564 MB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3719, allocations: 8.031 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.372, allocations: 24.83 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.3723, allocations: 247.5 kB / 1.223 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3723, allocations: 8 kB / 1.223 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.3724, allocations: 12 kB / 1.223 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.3726, allocations: 95.88 kB / 1.223 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3726, allocations: 0 / 1.223 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3726, allocations: 4 kB / 1.223 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3726, allocations: 4 kB / 1.223 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.3727, allocations: 55.91 kB / 1.223 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.3737, allocations: 460.4 kB / 1.223 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.3741, allocations: 134.7 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.3742, allocations: 36.84 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3742, allocations: 3.938 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.3745, allocations: 115.4 kB / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.3745, allocations: 0 / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.000375/0.3749, allocations: 168.9 kB / 1.224 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.375, allocations: 55.41 kB / 1.224 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3752, allocations: 202.5 kB / 1.224 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.3752, allocations: 33.7 kB / 1.224 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.3753, allocations: 116.5 kB / 1.224 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.3753, allocations: 39.72 kB / 1.224 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3755, allocations: 61.67 kB / 1.224 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3756, allocations: 326.8 kB / 1.224 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/0.3757, allocations: 35.98 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.3759, allocations: 127.5 kB / 1.225 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3761, allocations: 100.2 kB / 1.225 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3761, allocations: 0 / 1.225 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002785/0.3764, allocations: 168.4 kB / 1.225 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3764, allocations: 8.125 kB / 1.225 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3764, allocations: 4 kB / 1.225 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3764, allocations: 0 / 1.225 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.3765, allocations: 15.98 kB / 1.225 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3765, allocations: 4 kB / 1.225 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.3767, allocations: 27.88 kB / 1.225 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3767, allocations: 4 kB / 1.225 GB, free: 6.559 MB / 0.9669 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.0002412/0.377, allocations: 143.5 kB / 1.225 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.377, allocations: 19.94 kB / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.377, allocations: 21.88 kB / 1.225 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3771, allocations: 4 kB / 1.225 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3771, allocations: 0 / 1.225 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3771, allocations: 3.984 kB / 1.225 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.3778, allocations: 494.1 kB / 1.226 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3778, allocations: 0 / 1.226 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.3778, allocations: 15.88 kB / 1.226 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3778, allocations: 4 kB / 1.226 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3779, allocations: 3.984 kB / 1.226 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.3779, allocations: 3.938 kB / 1.226 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3779, allocations: 4 kB / 1.226 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3781, allocations: 227.2 kB / 1.226 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/0.3782, allocations: 97.02 kB / 1.226 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.3782, allocations: 0 / 1.226 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3784, allocations: 19.92 kB / 1.226 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.3785, allocations: 23.97 kB / 1.226 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.3785, allocations: 4 kB / 1.226 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002119/0.3787, allocations: 139.2 kB / 1.226 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3787, allocations: 0 / 1.226 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000324/0.379, allocations: 55.88 kB / 1.226 GB, free: 5.195 MB / 0.9669 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.0004455/0.3795, allocations: 173.8 kB / 1.226 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.3797, allocations: 96.08 kB / 1.226 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3797, allocations: 4.062 kB / 1.226 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.3798, allocations: 43.92 kB / 1.226 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.3802, allocations: 54.97 kB / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/0.3808, allocations: 302.9 kB / 1.227 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3812, allocations: 0.7203 MB / 1.227 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.739e-05/0.3813, allocations: 33.45 kB / 1.228 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.3814, allocations: 23.44 kB / 1.228 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.3814, allocations: 0 / 1.228 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.009076/0.3905, allocations: 3.776 MB / 1.231 GB, free: 15.99 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.193012587726116]