Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.91 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6304, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004254/0.6348, allocations: 1.763 MB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.6362, allocations: 0.6273 MB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.6363, allocations: 4 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.6366, allocations: 31.67 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.6371, allocations: 119.4 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.6375, allocations: 159.3 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.6379, allocations: 239.5 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.6381, allocations: 41.59 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.6383, allocations: 111.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00617/0.6444, allocations: 1.037 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.6445, allocations: 16 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.6447, allocations: 39.97 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.6447, allocations: 47.78 kB / 1.022 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.6449, allocations: 91.5 kB / 1.022 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.6453, allocations: 223.3 kB / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6453, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6453, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.6453, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008338/0.6462, allocations: 0.5526 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6462, allocations: 12.03 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.6463, allocations: 46.73 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.6464, allocations: 24.66 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.6467, allocations: 252.1 kB / 1.023 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.6467, allocations: 16.31 kB / 1.023 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.6468, allocations: 19.94 kB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.647, allocations: 105.6 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.647, allocations: 0 / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.6471, allocations: 4 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6471, allocations: 0 / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.6472, allocations: 59.97 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008993/0.6481, allocations: 496.1 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.6484, allocations: 110.7 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.6485, allocations: 40.84 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.6485, allocations: 3.984 kB / 1.024 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.6487, allocations: 103.4 kB / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.6487, allocations: 0 / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003512/0.649, allocations: 169.3 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.6491, allocations: 67.34 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.6493, allocations: 200.8 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.6493, allocations: 33.7 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.6494, allocations: 128.4 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.6495, allocations: 35.47 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6496, allocations: 69.66 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6497, allocations: 334.8 kB / 1.025 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.6499, allocations: 59.95 kB / 1.025 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.6501, allocations: 136.6 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.6504, allocations: 223.7 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6504, allocations: 0 / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005977/0.651, allocations: 320.6 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.6511, allocations: 67.33 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6511, allocations: 4 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6511, allocations: 4 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.6512, allocations: 28.08 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.6512, allocations: 4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.6515, allocations: 23.83 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.6515, allocations: 12 kB / 1.025 GB, free: 10.35 MB / 0.7794 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 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001394/0.6517, allocations: 144 kB / 1.026 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.6517, allocations: 23.75 kB / 1.026 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.652, allocations: 149.9 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.652, allocations: 0 / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.652, allocations: 4 kB / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.652, allocations: 7.984 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.6526, allocations: 486.2 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6526, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.6527, allocations: 11.92 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6527, allocations: 4 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6527, allocations: 0 / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6527, allocations: 4 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6527, allocations: 0 / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.653, allocations: 239.2 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.653, allocations: 100.9 kB / 1.027 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.6531, allocations: 3.984 kB / 1.027 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6532, allocations: 16 kB / 1.027 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.6533, allocations: 11.97 kB / 1.027 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.6533, allocations: 12 kB / 1.027 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001303/0.6535, allocations: 148.5 kB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6535, allocations: 0 / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003353/0.6538, allocations: 59.83 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000787/0.6546, allocations: 0.8383 MB / 1.028 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.6551, allocations: 266.7 kB / 1.028 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6551, allocations: 0 / 1.028 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.6552, allocations: 51.92 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.6556, allocations: 65.34 kB / 1.028 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.6584, allocations: 2.244 MB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.6587, allocations: 0.7281 MB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.763e-05/0.6588, allocations: 29.88 kB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.6589, allocations: 59.41 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.6589, allocations: 4 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06299/0.7219, allocations: 5.41 MB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/8.223, allocations: 19.72 kB / 1.036 GB, free: 15.08 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches