Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001868/0.001868, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002357/0.002357, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.464/1.464, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.736/2.736, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.329e-05, allocations: 8.922 kB / 0.7864 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00437/0.004403, allocations: 1.739 MB / 0.7881 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.007578, allocations: 0.904 MB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.007706, allocations: 9.156 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.007928, allocations: 23.72 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006602/0.008588, allocations: 128.7 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000659/0.009247, allocations: 151.6 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.00984, allocations: 243.3 kB / 0.7895 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.01003, allocations: 27.33 kB / 0.7895 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.01044, allocations: 151.7 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02859/0.03903, allocations: 3.209 MB / 0.7928 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.03916, allocations: 20 kB / 0.7928 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.03937, allocations: 40.55 kB / 0.7928 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.03948, allocations: 43.83 kB / 0.7929 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.03969, allocations: 61.47 kB / 0.7929 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.0404, allocations: 247.2 kB / 0.7932 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.0404, allocations: 0 / 0.7932 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/0.0404, allocations: 0 / 0.7932 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.04041, allocations: 1.75 kB / 0.7932 GB, free: 7.133 MB / 0.7448 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.001383/0.04179, allocations: 492.7 kB / 0.7936 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.04184, allocations: 8.656 kB / 0.7936 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.042, allocations: 29.75 kB / 0.7937 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.04247, allocations: 185.4 kB / 0.7939 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.04251, allocations: 12.38 kB / 0.7939 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.04257, allocations: 21.88 kB / 0.7939 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.0429, allocations: 115.2 kB / 0.794 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.04291, allocations: 0 / 0.794 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.04294, allocations: 4 kB / 0.794 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.04295, allocations: 4 kB / 0.794 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.04315, allocations: 58.06 kB / 0.7941 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.04447, allocations: 452.9 kB / 0.7945 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.04478, allocations: 93.78 kB / 0.7946 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.04491, allocations: 38.3 kB / 0.7946 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.04493, allocations: 1.594 kB / 0.7946 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.04528, allocations: 128.4 kB / 0.7947 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.04528, allocations: 0 / 0.7947 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0006208/0.04591, allocations: 174 kB / 0.7949 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/0.046, allocations: 82.42 kB / 0.795 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.04639, allocations: 208.3 kB / 0.7952 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.04646, allocations: 33.7 kB / 0.7952 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.04662, allocations: 120.6 kB / 0.7953 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/0.04669, allocations: 40.83 kB / 0.7954 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.04686, allocations: 57.69 kB / 0.7954 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002884/0.04715, allocations: 330.8 kB / 0.7957 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.04728, allocations: 33.36 kB / 0.7958 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.04782, allocations: 252.1 kB / 0.796 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.0481, allocations: 105.3 kB / 0.7961 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.0481, allocations: 0 / 0.7961 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004969/0.0486, allocations: 177.1 kB / 0.7963 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.04862, allocations: 8.531 kB / 0.7963 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.04863, allocations: 0.75 kB / 0.7963 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.04866, allocations: 8 kB / 0.7963 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.0488, allocations: 17.67 kB / 0.7963 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.04881, allocations: 3.938 kB / 0.7963 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.04919, allocations: 31.88 kB / 0.7963 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.04921, allocations: 4 kB / 0.7964 GB, free: 3.594 MB / 0.7448 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.0002229/0.04943, allocations: 136.8 kB / 0.7965 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.325e-05/0.04952, allocations: 39.19 kB / 0.7965 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.04958, allocations: 17.47 kB / 0.7965 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.04958, allocations: 4 kB / 0.7965 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.04959, allocations: 0 / 0.7965 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.0496, allocations: 7.922 kB / 0.7965 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009797/0.05058, allocations: 386 kB / 0.7969 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.05058, allocations: 0 / 0.7969 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.05062, allocations: 7.938 kB / 0.7969 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.05063, allocations: 4.5 kB / 0.7969 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.05064, allocations: 0 / 0.7969 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.05064, allocations: 1.344 kB / 0.7969 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.05064, allocations: 0 / 0.7969 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.05114, allocations: 248.1 kB / 0.7972 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.05118, allocations: 12.62 kB / 0.7972 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.05122, allocations: 3.984 kB / 0.7972 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.05146, allocations: 16.64 kB / 0.7972 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.05156, allocations: 22.78 kB / 0.7972 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.05159, allocations: 4 kB / 0.7972 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002439/0.05184, allocations: 143.2 kB / 0.7974 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.05184, allocations: 0 / 0.7974 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006187/0.05245, allocations: 51.88 kB / 0.7974 GB, free: 2.457 MB / 0.7448 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.000619/0.05307, allocations: 180.3 kB / 0.7976 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.05346, allocations: 103.8 kB / 0.7977 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.05346, allocations: 1.094 kB / 0.7977 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.05362, allocations: 43.92 kB / 0.7977 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.05438, allocations: 56.09 kB / 0.7978 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.0554, allocations: 306.7 kB / 0.7981 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.05559, allocations: 106.5 kB / 0.7982 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.05573, allocations: 22.28 kB / 0.7982 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.05582, allocations: 32.44 kB / 0.7982 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.05582, allocations: 0 / 0.7982 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of Templates: time 0.01355/0.06937, allocations: 3.962 MB / 0.8021 GB, free: 13.71 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.77486670401413]