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.001786/0.001786, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001906/0.001906, allocations: 216.6 kB / 22.24 MB, free: 5.258 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.816 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.318/3.318, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.002043/0.002043, allocations: 66.16 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4411, allocations: 176.1 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003687/0.4448, allocations: 1.723 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.4467, allocations: 0.9047 MB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.4468, allocations: 3.938 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.447, allocations: 27.72 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.4474, allocations: 123.4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.4479, allocations: 161.9 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.4482, allocations: 243.3 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.4484, allocations: 38.02 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.4486, allocations: 115.6 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.4617, allocations: 1.659 MB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/0.4618, allocations: 20 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.4619, allocations: 39.98 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/0.462, allocations: 51.78 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.4622, allocations: 79.61 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.4626, allocations: 215.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4626, allocations: 3.938 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4626, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4626, allocations: 3.984 kB / 1.331 GB, free: 12.57 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.0009875/0.4636, allocations: 497.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.4636, allocations: 12.03 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.4637, allocations: 38.75 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.4638, allocations: 28.78 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.4641, allocations: 189.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4641, allocations: 8 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.4642, allocations: 19.94 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.4644, allocations: 107.4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4645, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.4645, allocations: 8 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4645, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.4646, allocations: 57.94 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.4655, allocations: 487.7 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.4657, allocations: 89.12 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.4658, allocations: 33.78 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.4658, allocations: 7.922 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.4661, allocations: 129.2 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.4661, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.000386/0.4665, allocations: 161.5 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.4666, allocations: 81.11 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.4668, allocations: 215 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.4669, allocations: 33.7 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.467, allocations: 116.5 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.467, allocations: 39.73 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4671, allocations: 57.66 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4673, allocations: 331 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.4674, allocations: 35.98 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.4677, allocations: 253 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.4679, allocations: 109.8 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4679, allocations: 0 / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002933/0.4682, allocations: 161.4 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4682, allocations: 8 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4682, allocations: 4 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.4682, allocations: 7.984 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.4683, allocations: 16 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.4683, allocations: 7.938 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.4685, allocations: 27.88 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.4686, allocations: 4 kB / 1.334 GB, free: 8.945 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.0001773/0.4687, allocations: 148.1 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.4688, allocations: 19.97 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.4688, allocations: 21.45 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4688, allocations: 0 / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4688, allocations: 0 / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4688, allocations: 4 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.4695, allocations: 417.4 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4695, allocations: 4 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.4695, allocations: 7.875 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4695, allocations: 4 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4696, allocations: 11.94 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4696, allocations: 3.938 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4696, allocations: 4 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.4698, allocations: 235 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.4699, allocations: 11.91 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.4699, allocations: 7.938 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.47, allocations: 19.97 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.4701, allocations: 19.91 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.4701, allocations: 8 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001439/0.4703, allocations: 140.5 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4703, allocations: 8 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003188/0.4706, allocations: 39.94 kB / 1.335 GB, free: 7.75 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.0009739/0.4716, allocations: 0.8442 MB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.4718, allocations: 94.86 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4718, allocations: 0 / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.4719, allocations: 51.89 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.4724, allocations: 59.61 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.4749, allocations: 1.942 MB / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4751, allocations: 108.1 kB / 1.338 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.732e-05/0.4752, allocations: 25.64 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4753, allocations: 55.41 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of SimCode: time 1.282e-06/0.4753, allocations: 0 / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.5133, allocations: 6.448 MB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.78, allocations: 11.88 kB / 1.345 GB, free: 14.18 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: 18.818941247998737]