Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_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.005047/0.005047, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001336/0.001336, allocations: 195.6 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001877, allocations: 63.91 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3104, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001604/0.3121, allocations: 0.5903 MB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.913e-05/0.3121, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.3122, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.3122, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.3122, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.903e-05/0.3123, allocations: 4 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.3123, allocations: 7.922 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.3124, allocations: 4 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.3124, allocations: 3.984 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.764e-05/0.3124, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3124, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-06/0.3124, allocations: 4 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.3125, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.3125, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 4.959e-05/0.3125, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3125, allocations: 4 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3126, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3126, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 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.0002925/0.3129, allocations: 315.5 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3129, allocations: 12.06 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.3129, allocations: 30.75 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.912e-05/0.313, allocations: 4.938 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3131, allocations: 164.3 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.3131, allocations: 384 / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.3131, allocations: 384 / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.3132, allocations: 30.27 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3132, allocations: 7.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-06/0.3132, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.3132, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.441e-05/0.3132, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.3134, allocations: 157.7 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.3134, allocations: 18.52 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.3135, allocations: 8.953 kB / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.3135, allocations: 0 / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3135, allocations: 34.5 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3135, allocations: 0 / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001506/0.3137, allocations: 41.64 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3137, allocations: 55.39 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.3138, allocations: 93.86 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3138, allocations: 29.64 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.3138, allocations: 81.98 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3139, allocations: 0 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.3139, allocations: 9.719 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.314, allocations: 314.8 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.314, allocations: 8.125 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.314, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.3141, allocations: 8.859 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3141, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.823e-05/0.3141, allocations: 33.69 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3141, allocations: 4 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3142, allocations: 3.938 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3142, allocations: 4 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.3142, allocations: 7.922 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3142, allocations: 4.094 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-06/0.3143, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.3143, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 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 7.203e-05/0.3143, allocations: 113.8 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-06/0.3143, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.3144, allocations: 7.062 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3144, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3144, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3144, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3145, allocations: 153.7 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3145, allocations: 3.938 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.3145, allocations: 0 / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3145, allocations: 0 / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3145, allocations: 3.938 kB / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3145, allocations: 0 / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3145, allocations: 0 / 1.222 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.566e-05/0.3146, allocations: 65.06 kB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.3147, allocations: 81.14 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.3147, allocations: 3.938 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-06/0.3147, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.3147, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.3147, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.92e-05/0.3147, allocations: 75.28 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3147, allocations: 3.938 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001637/0.3149, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 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.0003739/0.3153, allocations: 0.5934 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.788e-05/0.3154, allocations: 7.938 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3154, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-06/0.3154, allocations: 8 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.3155, allocations: 2.344 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.3158, allocations: 110.6 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3161, allocations: 0.6729 MB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.3161, allocations: 0 / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.3161, allocations: 7.438 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3161, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/0.4654, allocations: 0.8828 MB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.275, allocations: 7.75 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches