Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_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.001812/0.001812, allocations: 111.3 kB / 15.24 MB, free: 0.6484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 203.1 kB / 16.15 MB, free: 6.598 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7697, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003352/0.7731, allocations: 1.922 MB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.7742, allocations: 0.6821 MB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.7743, allocations: 1.281 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.7745, allocations: 27.56 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.7748, allocations: 93.16 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.7751, allocations: 147.6 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.7753, allocations: 228.6 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.7755, allocations: 41.81 kB / 0.9521 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.7756, allocations: 98.23 kB / 0.9522 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01268/0.7883, allocations: 0.9577 MB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.7884, allocations: 10.62 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.7886, allocations: 32.06 kB / 0.9532 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.7886, allocations: 37.52 kB / 0.9532 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.7888, allocations: 94.66 kB / 0.9533 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.7891, allocations: 206.9 kB / 0.9535 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7892, allocations: 0 / 0.9535 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7892, allocations: 1.125 kB / 0.9535 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.7892, allocations: 0 / 0.9535 GB, free: 6.113 MB / 0.7169 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.0008658/0.7901, allocations: 0.565 MB / 0.954 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.7901, allocations: 9.719 kB / 0.9541 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.7902, allocations: 37.34 kB / 0.9541 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.913e-05/0.7903, allocations: 29.77 kB / 0.9541 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.7906, allocations: 245.3 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.7906, allocations: 11.53 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.7907, allocations: 19.5 kB / 0.9544 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.7909, allocations: 113.1 kB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.7909, allocations: 4 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.7909, allocations: 1.469 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7909, allocations: 1.469 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.7911, allocations: 60.23 kB / 0.9546 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.7919, allocations: 489.6 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.7922, allocations: 109.5 kB / 0.9551 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.7923, allocations: 44.23 kB / 0.9552 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.7923, allocations: 3.938 kB / 0.9552 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.7925, allocations: 115 kB / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.7925, allocations: 0 / 0.9553 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003772/0.7929, allocations: 164.8 kB / 0.9554 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.7929, allocations: 62.95 kB / 0.9555 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.7931, allocations: 204.2 kB / 0.9557 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.7932, allocations: 32.89 kB / 0.9557 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.7933, allocations: 122.6 kB / 0.9558 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.7933, allocations: 54.22 kB / 0.9559 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/0.7934, allocations: 62.95 kB / 0.9559 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.7935, allocations: 331.5 kB / 0.9563 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.7937, allocations: 62.58 kB / 0.9563 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.7939, allocations: 125.9 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.7942, allocations: 222.3 kB / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7942, allocations: 0 / 0.9567 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005547/0.7947, allocations: 325.4 kB / 0.957 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.7948, allocations: 76.75 kB / 0.957 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7948, allocations: 1.688 kB / 0.957 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7948, allocations: 2.719 kB / 0.957 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.7949, allocations: 21.53 kB / 0.9571 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.795, allocations: 3 kB / 0.9571 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.7951, allocations: 26.58 kB / 0.9571 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.7952, allocations: 17.2 kB / 0.9571 GB, free: 3 MB / 0.7169 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.0001155/0.7953, allocations: 146.5 kB / 0.9573 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.7953, allocations: 20.72 kB / 0.9573 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.7956, allocations: 145 kB / 0.9574 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7956, allocations: 1.375 kB / 0.9574 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7956, allocations: 0 / 0.9574 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7956, allocations: 1.375 kB / 0.9574 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.7961, allocations: 0.4936 MB / 0.9579 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7961, allocations: 0 / 0.9579 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.7962, allocations: 6.875 kB / 0.9579 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7962, allocations: 3.938 kB / 0.9579 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.7962, allocations: 1.375 kB / 0.9579 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7962, allocations: 5.359 kB / 0.9579 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7962, allocations: 0 / 0.9579 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.7964, allocations: 243.2 kB / 0.9581 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.7965, allocations: 104.4 kB / 0.9582 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.7965, allocations: 1 kB / 0.9582 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7966, allocations: 12.64 kB / 0.9583 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.7967, allocations: 15.41 kB / 0.9583 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.7967, allocations: 11.22 kB / 0.9583 GB, free: 2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001012/0.7968, allocations: 140.3 kB / 0.9584 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7968, allocations: 0 / 0.9584 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003096/0.7971, allocations: 48.66 kB / 0.9585 GB, free: 1.887 MB / 0.7169 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.0006125/0.7978, allocations: 0.8477 MB / 0.9593 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.7981, allocations: 246.7 kB / 0.9595 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7981, allocations: 0 / 0.9595 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.7982, allocations: 56.53 kB / 0.9596 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.7987, allocations: 59.08 kB / 0.9596 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.8014, allocations: 2.293 MB / 0.9619 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.8017, allocations: 0.7233 MB / 0.9626 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9e-05/0.8018, allocations: 33.97 kB / 0.9626 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.8019, allocations: 56.08 kB / 0.9627 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8019, allocations: 3.938 kB / 0.9627 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.8188, allocations: 5.128 MB / 0.9677 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003031/0.8191, allocations: 246.8 kB / 0.9679 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.664, allocations: 0 / 0.9679 GB, free: 11.43 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches