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.001231/0.001231, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00155/0.00155, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.951/2.951, allocations: 476.7 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 66.16 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.004974/0.3739, allocations: 1.778 MB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3759, allocations: 0.9474 MB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.376, allocations: 7.938 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.3763, allocations: 35.72 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005902/0.3769, allocations: 115.5 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.3774, allocations: 159.1 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.3779, allocations: 247.3 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.378, allocations: 33.31 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3782, allocations: 115.6 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01699/0.3952, allocations: 1.993 MB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.3954, allocations: 20 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.3955, allocations: 39.97 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3956, allocations: 43.78 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3958, allocations: 95.56 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006631/0.3965, allocations: 219.1 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3965, allocations: 0 / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3965, allocations: 0 / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.981e-05/0.3965, allocations: 0 / 1.289 GB, free: 6.379 MB / 0.9825 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.001139/0.3977, allocations: 0.4889 MB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3977, allocations: 8.031 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.7e-05/0.3978, allocations: 46.73 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3979, allocations: 20.8 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.3983, allocations: 185.6 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3983, allocations: 15.94 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.3983, allocations: 16 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.3986, allocations: 103.4 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3986, allocations: 4 kB / 1.29 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3986, allocations: 4 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3986, allocations: 7.938 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.3987, allocations: 63.81 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3997, allocations: 0.5036 MB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3999, allocations: 97.06 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.757e-05/0.4, allocations: 37.7 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.4, allocations: 7.938 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.4003, allocations: 125.2 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.4003, allocations: 0 / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0004196/0.4007, allocations: 155.8 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.4008, allocations: 81.11 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.4011, allocations: 209.2 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.4011, allocations: 33.7 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4012, allocations: 124.5 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.4013, allocations: 31.86 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.4014, allocations: 65.67 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4016, allocations: 330.8 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.4016, allocations: 31.98 kB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.4019, allocations: 145.3 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.4021, allocations: 105.9 kB / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4021, allocations: 0 / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002964/0.4024, allocations: 162.3 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.4024, allocations: 8 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4024, allocations: 0 / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4024, allocations: 4 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.4025, allocations: 19.94 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.4025, allocations: 7.984 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.4028, allocations: 23.88 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.4028, allocations: 12 kB / 1.292 GB, free: 2.84 MB / 0.9825 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.0001664/0.4029, allocations: 143.7 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.403, allocations: 27.78 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.4031, allocations: 25.45 kB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4031, allocations: 0 / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4031, allocations: 0 / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4031, allocations: 4 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.4038, allocations: 438.7 kB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4038, allocations: 0 / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.4038, allocations: 7.938 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4038, allocations: 4 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4038, allocations: 3.938 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4038, allocations: 0 / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4038, allocations: 3.984 kB / 1.293 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.4041, allocations: 235.3 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.4041, allocations: 19.84 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.4042, allocations: 11.92 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4043, allocations: 11.98 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.4044, allocations: 23.91 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.4044, allocations: 4 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001541/0.4045, allocations: 155 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4045, allocations: 0 / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003366/0.4049, allocations: 47.98 kB / 1.293 GB, free: 1.617 MB / 0.9825 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.0009676/0.4059, allocations: 0.839 MB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.4061, allocations: 95.83 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4061, allocations: 320 / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.4062, allocations: 51.92 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.4067, allocations: 60.75 kB / 1.294 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.4094, allocations: 1.928 MB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.4098, allocations: 0.7203 MB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.4099, allocations: 21.62 kB / 1.297 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.41, allocations: 55.41 kB / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.41, allocations: 0 / 1.297 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/0.4475, allocations: 5.746 MB / 1.303 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.75, allocations: 9.328 kB / 1.303 GB, free: 8.133 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.71313108992763]