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.001328/0.001328, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001561/0.001561, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.672/1.672, allocations: 230.6 MB / 256 MB, free: 7.77 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.264/3.264, allocations: 0.4892 GB / 0.7943 GB, free: 35.39 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.003059/0.003059, allocations: 68.17 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4355, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003407/0.4389, allocations: 1.723 MB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4407, allocations: 0.9047 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.4407, allocations: 3.938 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.4409, allocations: 31.72 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.4413, allocations: 119.5 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.4417, allocations: 151.7 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.4421, allocations: 251.2 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.4422, allocations: 38 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.4424, allocations: 111.7 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01316/0.4556, allocations: 1.647 MB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.4556, allocations: 20 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.4558, allocations: 39.98 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.4559, allocations: 51.77 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.456, allocations: 71.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.4564, allocations: 219.1 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4564, allocations: 3.938 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4564, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4565, allocations: 4 kB / 1.33 GB, free: 13.41 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.0008924/0.4573, allocations: 496.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4574, allocations: 8.031 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.4574, allocations: 38.75 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.4575, allocations: 24.8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.4578, allocations: 197.5 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.4579, allocations: 11.98 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.4579, allocations: 12 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.4581, allocations: 117.1 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4581, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4582, allocations: 4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4582, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.4583, allocations: 55.91 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008975/0.4592, allocations: 491.7 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.4594, allocations: 89.08 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/0.4594, allocations: 41.77 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4595, allocations: 3.938 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.4597, allocations: 128.8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.4597, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003833/0.4601, allocations: 169.2 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.4601, allocations: 77.11 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.4604, allocations: 211.2 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.4604, allocations: 33.7 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4605, allocations: 124.5 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.4606, allocations: 35.73 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.4607, allocations: 57.67 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4608, allocations: 330.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.4609, allocations: 27.98 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.4612, allocations: 257.6 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4614, allocations: 109.9 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4614, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002878/0.4617, allocations: 157.3 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4617, allocations: 10.34 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4617, allocations: 3.938 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4617, allocations: 4 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.4618, allocations: 19.98 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.4618, allocations: 8.094 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.462, allocations: 31.88 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4621, allocations: 8 kB / 1.334 GB, free: 9.777 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.0001537/0.4622, allocations: 140 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.4622, allocations: 15.91 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.4623, allocations: 25.45 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4623, allocations: 96 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4623, allocations: 7.984 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4623, allocations: 0 / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.463, allocations: 421.4 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.463, allocations: 3.984 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.463, allocations: 7.938 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.463, allocations: 0 / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.463, allocations: 3.938 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.463, allocations: 4 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.463, allocations: 0 / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.4633, allocations: 232.2 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.4633, allocations: 15.91 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.4633, allocations: 11.88 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.4634, allocations: 19.97 kB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.4635, allocations: 19.91 kB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.4635, allocations: 12 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001329/0.4637, allocations: 140.5 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4637, allocations: 0 / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003168/0.464, allocations: 43.94 kB / 1.335 GB, free: 8.59 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.0009199/0.4649, allocations: 0.8534 MB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.4652, allocations: 96.09 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4652, allocations: 4.062 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/0.4652, allocations: 43.92 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4657, allocations: 60.33 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.468, allocations: 1.942 MB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.4681, allocations: 116.2 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.312e-05/0.4682, allocations: 21.62 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.4683, allocations: 55.41 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4683, allocations: 0 / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.5126, allocations: 6.419 MB / 1.344 GB, free: 15.06 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.07, allocations: 5.719 kB / 1.344 GB, free: 15.05 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.226866859942675]