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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.237/3.237, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.77 kB / 1.134 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 173.9 MB / 1.304 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003255/0.3904, allocations: 1.747 MB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.392, allocations: 0.9124 MB / 1.307 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.3921, allocations: 0 / 1.307 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.3923, allocations: 27.73 kB / 1.307 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.3927, allocations: 119.4 kB / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.3931, allocations: 151.7 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.3934, allocations: 251.3 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3935, allocations: 21.95 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3936, allocations: 119.6 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01573/0.4094, allocations: 2.026 MB / 1.309 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.4095, allocations: 24 kB / 1.309 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.4096, allocations: 36 kB / 1.309 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.468e-05/0.4097, allocations: 43.77 kB / 1.309 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.4098, allocations: 87.56 kB / 1.309 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.4102, allocations: 219.2 kB / 1.31 GB, free: 12.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4102, allocations: 0 / 1.31 GB, free: 12.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4102, allocations: 0 / 1.31 GB, free: 12.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.4103, allocations: 0 / 1.31 GB, free: 12.46 MB / 1.014 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.0009319/0.4112, allocations: 0.5658 MB / 1.31 GB, free: 11.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4112, allocations: 8.922 kB / 1.31 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.4113, allocations: 42.73 kB / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.084e-05/0.4114, allocations: 20.84 kB / 1.31 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.4117, allocations: 244 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.4117, allocations: 19.92 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.4118, allocations: 16 kB / 1.31 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.412, allocations: 89.61 kB / 1.311 GB, free: 11.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.412, allocations: 4 kB / 1.311 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.412, allocations: 4 kB / 1.311 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.412, allocations: 0 / 1.311 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.4121, allocations: 51.97 kB / 1.311 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.413, allocations: 464.3 kB / 1.311 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.4134, allocations: 138.7 kB / 1.311 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.23e-05/0.4135, allocations: 28.84 kB / 1.311 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.4135, allocations: 11.94 kB / 1.311 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.4138, allocations: 107.3 kB / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.4138, allocations: 0 / 1.311 GB, free: 10.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0003606/0.4141, allocations: 165.7 kB / 1.311 GB, free: 10.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.4142, allocations: 59.34 kB / 1.312 GB, free: 10.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.4144, allocations: 199.1 kB / 1.312 GB, free: 10.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.4145, allocations: 37.69 kB / 1.312 GB, free: 9.988 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.4147, allocations: 116.5 kB / 1.312 GB, free: 9.871 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.4147, allocations: 47.69 kB / 1.312 GB, free: 9.824 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4148, allocations: 57.67 kB / 1.312 GB, free: 9.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.415, allocations: 330.8 kB / 1.312 GB, free: 9.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4151, allocations: 31.98 kB / 1.312 GB, free: 9.398 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.4154, allocations: 125.7 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.4156, allocations: 101.6 kB / 1.313 GB, free: 9.137 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4156, allocations: 0 / 1.313 GB, free: 9.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002733/0.4159, allocations: 155.8 kB / 1.313 GB, free: 8.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4159, allocations: 8.031 kB / 1.313 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4159, allocations: 0 / 1.313 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.4159, allocations: 7.984 kB / 1.313 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.416, allocations: 19.94 kB / 1.313 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.416, allocations: 0 / 1.313 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.4162, allocations: 27.88 kB / 1.313 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.4162, allocations: 8 kB / 1.313 GB, free: 8.91 MB / 1.014 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.0001676/0.4164, allocations: 143.5 kB / 1.313 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.4164, allocations: 23.86 kB / 1.313 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.4165, allocations: 21.86 kB / 1.313 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4165, allocations: 0 / 1.313 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4165, allocations: 0 / 1.313 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4165, allocations: 4 kB / 1.313 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007881/0.4173, allocations: 492.5 kB / 1.313 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4173, allocations: 0 / 1.313 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.4173, allocations: 11.98 kB / 1.313 GB, free: 8.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4173, allocations: 3.938 kB / 1.313 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4173, allocations: 11.94 kB / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4174, allocations: 0 / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4174, allocations: 0 / 1.313 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.4176, allocations: 231.3 kB / 1.314 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.4177, allocations: 92.97 kB / 1.314 GB, free: 7.793 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.4177, allocations: 7.938 kB / 1.314 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.4179, allocations: 15.98 kB / 1.314 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.4179, allocations: 23.97 kB / 1.314 GB, free: 7.746 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.418, allocations: 15.98 kB / 1.314 GB, free: 7.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001316/0.4181, allocations: 136.2 kB / 1.314 GB, free: 7.598 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 0 / 1.314 GB, free: 7.598 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003285/0.4184, allocations: 51.92 kB / 1.314 GB, free: 7.547 MB / 1.014 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.0009707/0.4194, allocations: 0.8377 MB / 1.315 GB, free: 6.707 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.4197, allocations: 98.19 kB / 1.315 GB, free: 6.613 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4197, allocations: 0 / 1.315 GB, free: 6.613 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.4198, allocations: 50.73 kB / 1.315 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.4202, allocations: 51.83 kB / 1.315 GB, free: 6.516 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4226, allocations: 1.887 MB / 1.317 GB, free: 4.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.423, allocations: 0.7281 MB / 1.318 GB, free: 3.766 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.014e-05/0.4231, allocations: 17.55 kB / 1.318 GB, free: 3.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.4232, allocations: 55.41 kB / 1.318 GB, free: 3.695 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/0.4232, allocations: 3.938 kB / 1.318 GB, free: 3.691 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.461, allocations: 5.641 MB / 1.323 GB, free: 14.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/9.001, allocations: 10.34 kB / 1.323 GB, free: 14.24 MB / 1.029 GB " [Timeout remaining time 291] (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_2/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: 15.675898873247206]