Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Examples_ModelTime",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.001131/0.001131, 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.001132/0.001132, allocations: 194.6 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.362/1.362, 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.522/2.522, allocations: 437 MB / 0.7104 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.89 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6661/0.6676, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001973/0.6696, allocations: 0.5801 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 3.911e-05/0.6696, allocations: 8 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.6697, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.6697, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-06/0.6697, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.803e-05/0.6698, allocations: 3.938 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.6698, allocations: 4 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.6699, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.6699, allocations: 7.984 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.852e-05/0.6699, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.6699, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.6699, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.67, allocations: 4 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.67, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.254e-05/0.6701, allocations: 7.922 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6701, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6701, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.6701, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002911/0.6704, allocations: 307.6 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6704, allocations: 16 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.6705, allocations: 30.75 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.6705, allocations: 4.938 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.6706, allocations: 168.4 kB / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6706, allocations: 384 / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.6706, allocations: 384 / 1.019 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.6707, allocations: 30.27 kB / 1.019 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6707, allocations: 3.938 kB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.6708, allocations: 3.938 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6708, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.6708, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.6709, allocations: 145.7 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.146e-05/0.671, allocations: 26.52 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.671, allocations: 12.91 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.671, allocations: 0 / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.6711, allocations: 30.56 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.6711, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.6712, allocations: 45.48 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.6712, allocations: 55.53 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.229e-05/0.6713, allocations: 89.86 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.6713, allocations: 25.7 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.6713, allocations: 84.14 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.6714, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.6714, allocations: 9.719 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.6715, allocations: 314.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.6715, allocations: 4 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.6715, allocations: 8 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.6716, allocations: 8.859 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6716, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.958e-05/0.6716, allocations: 33.64 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6716, allocations: 4 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6717, allocations: 3.938 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6717, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.6717, allocations: 4 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6717, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.6718, allocations: 4.094 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.6718, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.366e-05/0.6718, allocations: 117.8 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-06/0.6718, allocations: 4 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.542e-05/0.6719, allocations: 7.062 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6719, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.6719, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6719, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.672, allocations: 143.9 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.672, allocations: 11.92 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.672, allocations: 4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.672, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.672, allocations: 3.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.672, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.672, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.073e-05/0.6721, allocations: 65.08 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.6722, allocations: 81.09 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.6722, allocations: 11.95 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.6722, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/0.6722, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.6722, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.341e-05/0.6722, allocations: 79.28 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6722, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000182/0.6724, allocations: 0 / 1.02 GB, free: 15.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.000304/0.6727, allocations: 0.5929 MB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.835e-05/0.6728, allocations: 7.938 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6728, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.6728, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.673, allocations: 5.562 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.6733, allocations: 114.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.6735, allocations: 0.6729 MB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.105e-05/0.6735, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.6735, allocations: 7.438 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6735, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.6909, allocations: 0.8415 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.831, allocations: 19.69 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,modTim.y Variables in the result:modTim.y,time