Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001569/0.001569, allocations: 109.2 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.001559/0.001559, allocations: 219.7 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.988 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.307/3.307, 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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_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.00206/0.00206, allocations: 71.05 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003442/0.3812, allocations: 1.793 MB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.383, allocations: 0.9442 MB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3832, allocations: 4 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.3834, allocations: 31.72 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.3838, allocations: 115.4 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.3843, allocations: 170.8 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.3847, allocations: 239.4 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3849, allocations: 30.02 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.3851, allocations: 119.7 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0164/0.4015, allocations: 1.992 MB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.289e-05/0.4016, allocations: 16 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.4017, allocations: 43.98 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.4018, allocations: 39.84 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.402, allocations: 91.56 kB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.4025, allocations: 219.1 kB / 1.359 GB, free: 3.168 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4025, allocations: 0 / 1.359 GB, free: 3.168 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4025, allocations: 0 / 1.359 GB, free: 3.168 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.4025, allocations: 3.938 kB / 1.359 GB, free: 3.164 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009709/0.4034, allocations: 0.4889 MB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4035, allocations: 12.03 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.4035, allocations: 46.73 kB / 1.359 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.4036, allocations: 20.84 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.4039, allocations: 193.5 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.404, allocations: 8 kB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.404, allocations: 12 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.4042, allocations: 113.4 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4042, allocations: 0 / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4042, allocations: 4 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4043, allocations: 8 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.4044, allocations: 55.81 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009476/0.4053, allocations: 0.5113 MB / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4055, allocations: 89.12 kB / 1.36 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.4056, allocations: 45.89 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.4056, allocations: 3.938 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.4059, allocations: 125.1 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.4059, allocations: 0 / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003905/0.4063, allocations: 163.2 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.4064, allocations: 81.11 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.4066, allocations: 206.4 kB / 1.361 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.4066, allocations: 33.7 kB / 1.361 GB, free: 0.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.4067, allocations: 128.5 kB / 1.361 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.4068, allocations: 35.86 kB / 1.361 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.4069, allocations: 61.67 kB / 1.361 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.407, allocations: 326.8 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.4071, allocations: 27.98 kB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.4074, allocations: 152.1 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.4075, allocations: 107.7 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4075, allocations: 0 / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002834/0.4078, allocations: 169.3 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4078, allocations: 4 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4078, allocations: 4 kB / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4079, allocations: 0 / 1.362 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.4079, allocations: 19.94 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.408, allocations: 3.984 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.4082, allocations: 27.88 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4082, allocations: 12.16 kB / 1.362 GB, free: 15.61 MB / 1.061 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.0001512/0.4083, allocations: 144.2 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4084, allocations: 19.84 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.4084, allocations: 25.39 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4084, allocations: 4 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4084, allocations: 0 / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4084, allocations: 0 / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.4091, allocations: 437.3 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4091, allocations: 0 / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.4091, allocations: 4 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4091, allocations: 0 / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4091, allocations: 11.94 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4091, allocations: 3.938 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4091, allocations: 3.984 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4094, allocations: 241.6 kB / 1.363 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.4094, allocations: 11.91 kB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.4095, allocations: 11.92 kB / 1.363 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.4096, allocations: 11.98 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.4097, allocations: 19.97 kB / 1.363 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.4097, allocations: 8 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001519/0.4098, allocations: 140.5 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4098, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003404/0.4102, allocations: 51.92 kB / 1.363 GB, free: 14.41 MB / 1.061 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.0008911/0.4111, allocations: 0.841 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.4113, allocations: 95.89 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4113, allocations: 320 / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.4114, allocations: 47.92 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.4118, allocations: 57.97 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.4142, allocations: 1.926 MB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4146, allocations: 0.7203 MB / 1.366 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.845e-05/0.4146, allocations: 21.62 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4147, allocations: 59.41 kB / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.4147, allocations: 0 / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.4506, allocations: 5.743 MB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.82, allocations: 12 kB / 1.372 GB, free: 4.895 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.77362175518647]