Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 159.3 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.877/2.877, allocations: 377.8 MB / 0.6221 GB, free: 12.64 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.272e-05, allocations: 9.312 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.004623/0.004656, allocations: 1.736 MB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.007443, allocations: 0.9043 MB / 0.984 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.007545, allocations: 4 kB / 0.984 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.007782, allocations: 27.73 kB / 0.984 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006144/0.008397, allocations: 119.3 kB / 0.9841 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.009019, allocations: 155.1 kB / 0.9843 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.009508, allocations: 251.3 kB / 0.9845 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.009668, allocations: 33.77 kB / 0.9845 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.01, allocations: 151.6 kB / 0.9847 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02888/0.03889, allocations: 1.974 MB / 0.9866 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.03901, allocations: 23.94 kB / 0.9866 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.03921, allocations: 35.94 kB / 0.9867 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.03933, allocations: 43.83 kB / 0.9867 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.03952, allocations: 63.86 kB / 0.9868 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.04017, allocations: 239.3 kB / 0.987 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.04017, allocations: 0 / 0.987 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.881e-06/0.04018, allocations: 4 kB / 0.987 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.04019, allocations: 0 / 0.987 GB, free: 6.797 MB / 0.9356 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.001414/0.04161, allocations: 0.4927 MB / 0.9875 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.04166, allocations: 8.031 kB / 0.9875 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.04179, allocations: 24.84 kB / 0.9875 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.04226, allocations: 181.3 kB / 0.9877 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.04229, allocations: 4.375 kB / 0.9877 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.04235, allocations: 23.88 kB / 0.9877 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.04271, allocations: 121.5 kB / 0.9878 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.04272, allocations: 0 / 0.9878 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.04275, allocations: 8 kB / 0.9878 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.04275, allocations: 0 / 0.9878 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.04296, allocations: 47.97 kB / 0.9879 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.04422, allocations: 468.2 kB / 0.9883 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.04451, allocations: 93.12 kB / 0.9884 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.0446, allocations: 37.7 kB / 0.9885 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.04463, allocations: 4 kB / 0.9885 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.04497, allocations: 125.1 kB / 0.9886 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.04498, allocations: 0 / 0.9886 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003803/0.04536, allocations: 165.4 kB / 0.9887 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.04542, allocations: 77.11 kB / 0.9888 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.04565, allocations: 209.8 kB / 0.989 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.04569, allocations: 33.7 kB / 0.9891 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.0458, allocations: 120.6 kB / 0.9892 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.04584, allocations: 35.73 kB / 0.9892 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.04595, allocations: 61.64 kB / 0.9893 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.04611, allocations: 330.8 kB / 0.9896 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.04618, allocations: 27.98 kB / 0.9896 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.04652, allocations: 252.2 kB / 0.9898 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.04668, allocations: 114 kB / 0.99 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.04669, allocations: 0 / 0.99 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002862/0.04697, allocations: 157.4 kB / 0.9901 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.04699, allocations: 10.81 kB / 0.9901 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.04699, allocations: 4.156 kB / 0.9901 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.04701, allocations: 4 kB / 0.9901 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.04711, allocations: 27.86 kB / 0.9901 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.04712, allocations: 4 kB / 0.9902 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.04734, allocations: 23.88 kB / 0.9902 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.04736, allocations: 8 kB / 0.9902 GB, free: 3.254 MB / 0.9356 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.0001527/0.04751, allocations: 139.9 kB / 0.9903 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.04755, allocations: 27.83 kB / 0.9903 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.0476, allocations: 17.47 kB / 0.9904 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0476, allocations: 7.938 kB / 0.9904 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.04761, allocations: 4 kB / 0.9904 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.04762, allocations: 3.984 kB / 0.9904 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.04824, allocations: 393 kB / 0.9907 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.04825, allocations: 4 kB / 0.9908 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.04827, allocations: 4 kB / 0.9908 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.04828, allocations: 0 / 0.9908 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.04829, allocations: 4 kB / 0.9908 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.0483, allocations: 7.938 kB / 0.9908 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0483, allocations: 4 kB / 0.9908 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.04859, allocations: 228.2 kB / 0.991 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.04861, allocations: 15.91 kB / 0.991 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.04865, allocations: 7.984 kB / 0.991 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.04878, allocations: 11.98 kB / 0.991 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.04886, allocations: 15.97 kB / 0.991 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.04889, allocations: 12 kB / 0.991 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001576/0.04905, allocations: 147 kB / 0.9912 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04905, allocations: 0 / 0.9912 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003348/0.04938, allocations: 47.89 kB / 0.9912 GB, free: 2.109 MB / 0.9356 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.0004645/0.04985, allocations: 185.9 kB / 0.9914 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.05012, allocations: 98.33 kB / 0.9915 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.05013, allocations: 0 / 0.9915 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.05023, allocations: 47.86 kB / 0.9916 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.0507, allocations: 57.02 kB / 0.9916 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.05135, allocations: 291.8 kB / 0.9919 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.05148, allocations: 108.5 kB / 0.992 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.678e-05/0.05158, allocations: 29.61 kB / 0.992 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.05165, allocations: 20.5 kB / 0.992 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.05165, allocations: 0 / 0.992 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of Templates: time 0.009439/0.06109, allocations: 3.927 MB / 0.9959 GB, free: 13.41 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.112064607441425]