Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001335/0.001335, 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.001604/0.001604, allocations: 217.1 kB / 22.25 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.511/1.511, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.331/3.331, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_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.00207/0.00207, allocations: 72.39 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3894, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004643/0.394, allocations: 1.775 MB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.3961, allocations: 0.9558 MB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.3962, allocations: 4 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.3965, allocations: 27.73 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.397, allocations: 123.4 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.3975, allocations: 154.5 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000422/0.3979, allocations: 247.4 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.398, allocations: 22.03 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.3983, allocations: 119.7 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01723/0.4155, allocations: 2.045 MB / 1.358 GB, free: 3.547 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.4156, allocations: 16 kB / 1.358 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.4158, allocations: 39.98 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.362e-05/0.4159, allocations: 43.84 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4161, allocations: 91.56 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.4167, allocations: 219.1 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4167, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4167, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.4167, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.045 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.001155/0.4178, allocations: 488.7 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4179, allocations: 16.03 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.418, allocations: 42.73 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.4181, allocations: 24.8 kB / 1.359 GB, free: 2.535 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.4184, allocations: 189.5 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4184, allocations: 8 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.4185, allocations: 12 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.4187, allocations: 99.34 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4187, allocations: 0 / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4187, allocations: 4 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.4187, allocations: 4 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.4189, allocations: 51.97 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000983/0.4198, allocations: 439.4 kB / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.4203, allocations: 126.7 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.021e-05/0.4204, allocations: 36.84 kB / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4204, allocations: 0 / 1.36 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.4207, allocations: 118.4 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.4207, allocations: 0 / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0004159/0.4212, allocations: 169.4 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4212, allocations: 55.41 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.4215, allocations: 198.5 kB / 1.361 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.4215, allocations: 37.64 kB / 1.361 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4216, allocations: 120.5 kB / 1.361 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.4217, allocations: 35.72 kB / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.4218, allocations: 57.69 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.422, allocations: 334.8 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.4221, allocations: 31.98 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.4223, allocations: 123.6 kB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4225, allocations: 108.1 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4225, allocations: 0 / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003088/0.4228, allocations: 155.3 kB / 1.362 GB, free: 15.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4228, allocations: 4 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4228, allocations: 4 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4228, allocations: 4.125 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.4229, allocations: 15.94 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4229, allocations: 4 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.4232, allocations: 31.86 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4232, allocations: 4 kB / 1.362 GB, free: 15.81 MB / 1.061 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.0001592/0.4233, allocations: 144.1 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.4234, allocations: 15.91 kB / 1.362 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.4234, allocations: 21.8 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4234, allocations: 8 kB / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4234, allocations: 0 / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4234, allocations: 0 / 1.362 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.4242, allocations: 465.3 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4242, allocations: 4 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.4242, allocations: 7.984 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4242, allocations: 0 / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4242, allocations: 7.984 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4242, allocations: 0 / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4242, allocations: 3.984 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.4245, allocations: 242.6 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.4245, allocations: 19.91 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.4246, allocations: 3.938 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4247, allocations: 19.92 kB / 1.363 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.4248, allocations: 31.89 kB / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.4248, allocations: 4 kB / 1.363 GB, free: 14.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001569/0.425, allocations: 140.5 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.425, allocations: 0 / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003307/0.4253, allocations: 40 kB / 1.363 GB, free: 14.58 MB / 1.061 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.0009205/0.4262, allocations: 0.8239 MB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4265, allocations: 107.7 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4265, allocations: 0 / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4266, allocations: 50.45 kB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.427, allocations: 66.27 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.4295, allocations: 1.878 MB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.4298, allocations: 0.7242 MB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.725e-05/0.4299, allocations: 29.62 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4301, allocations: 55.41 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of SimCode: time 6.82e-07/0.4301, allocations: 0 / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.467, allocations: 5.792 MB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.01, allocations: 13.59 kB / 1.372 GB, free: 5.07 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.026550978887826]