Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001341/0.001341, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001517/0.001517, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.801 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.938/2.938, allocations: 476 MB / 0.7699 GB, free: 4.746 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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.00215/0.00215, allocations: 67.8 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3759, allocations: 170 MB / 1.283 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003537/0.3794, allocations: 1.728 MB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3813, allocations: 0.9008 MB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3814, allocations: 7.938 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.3816, allocations: 31.67 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.382, allocations: 123.4 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.3825, allocations: 151.7 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.3828, allocations: 251.4 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3829, allocations: 17.8 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.3832, allocations: 115.6 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01676/0.3999, allocations: 2.026 MB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4, allocations: 20 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.4002, allocations: 35.98 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.4003, allocations: 47.77 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.4004, allocations: 71.64 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.4009, allocations: 223.2 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4009, allocations: 0 / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4009, allocations: 3.938 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.4009, allocations: 0 / 1.288 GB, free: 7.344 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009781/0.4019, allocations: 0.4889 MB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.402, allocations: 8.031 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.402, allocations: 42.73 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.4021, allocations: 20.8 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.4025, allocations: 181.6 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.4025, allocations: 19.94 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.4026, allocations: 16 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4028, allocations: 99.3 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4028, allocations: 0 / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.4028, allocations: 4 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.4028, allocations: 0 / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.403, allocations: 51.97 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009317/0.4039, allocations: 403.5 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.4044, allocations: 122.8 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.4045, allocations: 36.84 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4045, allocations: 7.938 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.4048, allocations: 107.3 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.4048, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004527/0.4053, allocations: 165.6 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.4053, allocations: 59.41 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.4056, allocations: 193.3 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.4056, allocations: 33.7 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4057, allocations: 132.3 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.4058, allocations: 39.72 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4059, allocations: 57.69 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4061, allocations: 330.8 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.4061, allocations: 35.98 kB / 1.291 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.4065, allocations: 230.4 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.4067, allocations: 108.1 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4067, allocations: 0 / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002796/0.4069, allocations: 151.8 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.407, allocations: 8 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.407, allocations: 3.984 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.407, allocations: 4 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/0.4071, allocations: 11.94 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4071, allocations: 4.125 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.4073, allocations: 31.88 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4073, allocations: 11.94 kB / 1.291 GB, free: 3.902 MB / 0.9825 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.0001635/0.4075, allocations: 143.5 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.4075, allocations: 19.86 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.4076, allocations: 21.8 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4076, allocations: 3.938 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4076, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4076, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.4084, allocations: 456.4 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4084, allocations: 0 / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.4084, allocations: 4 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4084, allocations: 48 / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.4084, allocations: 15.91 kB / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4084, allocations: 0 / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4084, allocations: 0 / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4087, allocations: 231.4 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.4087, allocations: 23.8 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.4088, allocations: 3.938 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.4089, allocations: 19.98 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.409, allocations: 23.91 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.409, allocations: 7.984 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001575/0.4092, allocations: 147 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4092, allocations: 0 / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003269/0.4095, allocations: 43.94 kB / 1.292 GB, free: 2.688 MB / 0.9825 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.001042/0.4105, allocations: 0.8382 MB / 1.293 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.4108, allocations: 96.03 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4108, allocations: 4.062 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.4109, allocations: 43.92 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.4114, allocations: 70.72 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.4138, allocations: 1.886 MB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.4139, allocations: 112.1 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.4141, allocations: 25.62 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4142, allocations: 51.42 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.4142, allocations: 0 / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.4547, allocations: 6.488 MB / 1.302 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.93, allocations: 11.94 kB / 1.302 GB, free: 9.16 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.136311146896333]