Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_latest_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.004393/0.004393, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001201/0.001201, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 482.6 MB / 0.755 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.41 kB / 1.083 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.328, allocations: 162.3 MB / 1.242 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001617/0.3297, allocations: 0.5958 MB / 1.242 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.653e-05/0.3297, allocations: 0 / 1.242 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.3297, allocations: 4 kB / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.3298, allocations: 0 / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.3298, allocations: 0 / 1.242 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.333e-05/0.3298, allocations: 7.984 kB / 1.242 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.536e-05/0.3299, allocations: 4 kB / 1.242 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.3299, allocations: 0 / 1.242 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.33, allocations: 7.984 kB / 1.242 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.932e-05/0.33, allocations: 3.938 kB / 1.242 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.33, allocations: 3.938 kB / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.33, allocations: 0 / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.33, allocations: 0 / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.33, allocations: 0 / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.582e-05/0.3301, allocations: 0 / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3301, allocations: 0 / 1.242 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3301, allocations: 4 kB / 1.242 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3301, allocations: 0 / 1.242 GB, free: 8.34 MB / 0.9669 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.0003025/0.3304, allocations: 315.6 kB / 1.243 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3305, allocations: 12.03 kB / 1.243 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.3305, allocations: 30.75 kB / 1.243 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.3305, allocations: 0.9375 kB / 1.243 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3306, allocations: 160.4 kB / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3307, allocations: 384 / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-06/0.3307, allocations: 384 / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.23e-05/0.3308, allocations: 34.27 kB / 1.243 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3308, allocations: 3.938 kB / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.3308, allocations: 0 / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3308, allocations: 0 / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.3308, allocations: 11.91 kB / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.331, allocations: 145.7 kB / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.784e-05/0.331, allocations: 22.55 kB / 1.243 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.331, allocations: 12.92 kB / 1.243 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.331, allocations: 0 / 1.243 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3311, allocations: 30.56 kB / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3311, allocations: 0 / 1.243 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.3312, allocations: 45.56 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3313, allocations: 55.34 kB / 1.243 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.535e-05/0.3313, allocations: 89.86 kB / 1.243 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3313, allocations: 25.7 kB / 1.243 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.3314, allocations: 84.27 kB / 1.243 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.3314, allocations: 12.17 kB / 1.243 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.3314, allocations: 10.06 kB / 1.243 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3316, allocations: 310.8 kB / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-06/0.3316, allocations: 0 / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.3316, allocations: 4 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.3316, allocations: 8.859 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3316, allocations: 8.062 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.229e-05/0.3317, allocations: 37.62 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3317, allocations: 4 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3317, allocations: 3.938 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3318, allocations: 0 / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.3318, allocations: 4 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3318, allocations: 0 / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-06/0.3318, allocations: 0 / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.3318, allocations: 0 / 1.244 GB, free: 6.652 MB / 0.9669 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.749e-05/0.3319, allocations: 109.9 kB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.3319, allocations: 4 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.332, allocations: 11.06 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.332, allocations: 0 / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.332, allocations: 3.984 kB / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.332, allocations: 0 / 1.244 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.3321, allocations: 141.7 kB / 1.244 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3321, allocations: 0 / 1.244 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.3321, allocations: 4 kB / 1.244 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3321, allocations: 4 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3322, allocations: 7.938 kB / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.3322, allocations: 0 / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3322, allocations: 3.938 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.059e-05/0.3322, allocations: 61.12 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3323, allocations: 77.11 kB / 1.244 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.3323, allocations: 3.938 kB / 1.244 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.3323, allocations: 0 / 1.244 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-06/0.3323, allocations: 7.875 kB / 1.244 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.3324, allocations: 4.031 kB / 1.244 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.3324, allocations: 79.28 kB / 1.244 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3324, allocations: 4 kB / 1.244 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001754/0.3326, allocations: 0 / 1.244 GB, free: 6.043 MB / 0.9669 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.0003901/0.333, allocations: 0.5982 MB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.333, allocations: 4 kB / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3331, allocations: 0 / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.369e-06/0.3331, allocations: 0 / 1.245 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3332, allocations: 17.95 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.3335, allocations: 98.58 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3338, allocations: 0.669 MB / 1.246 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.29e-05/0.3338, allocations: 7.938 kB / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.3338, allocations: 11.56 kB / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.3338, allocations: 0 / 1.246 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/0.5284, allocations: 0.8687 MB / 1.247 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.646, allocations: 17.19 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches