Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.001308/0.001308, 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.001487/0.001487, allocations: 211.5 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.533/1.533, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.446/3.446, allocations: 0.49 GB / 0.7951 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.00211/0.00211, allocations: 69.16 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4443, allocations: 176.1 MB / 1.326 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00417/0.4485, allocations: 1.769 MB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.4506, allocations: 0.9592 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.4508, allocations: 3.938 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.451, allocations: 27.73 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.4515, allocations: 127.4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.452, allocations: 155.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.4525, allocations: 247.3 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.4526, allocations: 30.02 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.4529, allocations: 115.7 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01337/0.4663, allocations: 1.663 MB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.4664, allocations: 24 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.4665, allocations: 39.98 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.4666, allocations: 47.77 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.4668, allocations: 87.56 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.4673, allocations: 223.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4673, allocations: 3.938 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4673, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.4673, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 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.0009588/0.4683, allocations: 488.7 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4683, allocations: 12.03 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.4684, allocations: 42.73 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.4684, allocations: 24.73 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.4688, allocations: 193.5 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4688, allocations: 8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.4688, allocations: 12 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.4691, allocations: 115.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4691, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4691, allocations: 7.984 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4691, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.4692, allocations: 59.91 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009823/0.4702, allocations: 0.5151 MB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.4704, allocations: 85.14 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.4705, allocations: 37.77 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4705, allocations: 7.938 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.4707, allocations: 125.2 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.4707, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0004189/0.4711, allocations: 165.5 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.4712, allocations: 81.11 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4714, allocations: 203.1 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.4715, allocations: 33.83 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4716, allocations: 128.5 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4716, allocations: 31.73 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4717, allocations: 65.66 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4719, allocations: 326.8 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.472, allocations: 31.98 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.4722, allocations: 143 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.4724, allocations: 115.4 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4724, allocations: 0 / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002933/0.4727, allocations: 165.1 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4727, allocations: 8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4727, allocations: 0 / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4727, allocations: 7.984 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.4728, allocations: 16 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4728, allocations: 4.094 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.473, allocations: 35.88 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.4731, allocations: 4 kB / 1.334 GB, free: 9.391 MB / 1.029 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.0001547/0.4732, allocations: 140.7 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.4733, allocations: 15.91 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.4733, allocations: 25.45 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4733, allocations: 3.938 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4733, allocations: 0 / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4733, allocations: 7.938 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.474, allocations: 437.3 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.474, allocations: 0 / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.474, allocations: 7.938 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.474, allocations: 0 / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.474, allocations: 11.94 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.474, allocations: 0 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.474, allocations: 0 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.4743, allocations: 239.1 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.4743, allocations: 15.91 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.4743, allocations: 3.938 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4745, allocations: 19.97 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.4746, allocations: 23.91 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.4746, allocations: 4 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001427/0.4747, allocations: 148.5 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4747, allocations: 0 / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003256/0.4751, allocations: 39.94 kB / 1.336 GB, free: 8.191 MB / 1.029 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.0009006/0.476, allocations: 0.8445 MB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.4762, allocations: 103.8 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4762, allocations: 4 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/0.4763, allocations: 43.92 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.4768, allocations: 57.58 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.4792, allocations: 1.943 MB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.4795, allocations: 0.7242 MB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.195e-05/0.4796, allocations: 25.62 kB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4797, allocations: 55.41 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4797, allocations: 0 / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.5167, allocations: 5.757 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.85, allocations: 0 / 1.345 GB, free: 14.66 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.065686439163983]