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.004787/0.004787, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001261/0.001261, allocations: 194.2 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 482.4 MB / 0.7548 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.94 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3189, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001603/0.3205, allocations: 0.588 MB / 1.242 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.402e-05/0.3205, allocations: 0 / 1.242 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.3206, allocations: 0 / 1.242 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.3206, allocations: 3.938 kB / 1.242 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.3206, allocations: 0 / 1.242 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-05/0.3206, allocations: 4 kB / 1.242 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.3207, allocations: 3.984 kB / 1.242 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.3207, allocations: 4 kB / 1.242 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.3208, allocations: 0 / 1.242 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.44e-05/0.3208, allocations: 0 / 1.242 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3208, allocations: 0 / 1.242 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-06/0.3208, allocations: 7.938 kB / 1.242 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3208, allocations: 3.984 kB / 1.242 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.3208, allocations: 0 / 1.242 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 4.383e-05/0.3209, allocations: 0 / 1.242 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3209, allocations: 4 kB / 1.242 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3209, allocations: 0 / 1.242 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.3209, allocations: 0 / 1.242 GB, free: 8.672 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.0002804/0.3212, allocations: 311.5 kB / 1.242 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3212, allocations: 12.06 kB / 1.242 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.3213, allocations: 34.75 kB / 1.242 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.48e-05/0.3213, allocations: 4.938 kB / 1.242 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3214, allocations: 160.4 kB / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.3214, allocations: 384 / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-06/0.3214, allocations: 384 / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.231e-05/0.3215, allocations: 34.2 kB / 1.243 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3215, allocations: 7.875 kB / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.3215, allocations: 0 / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.3215, allocations: 0 / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.258e-05/0.3215, allocations: 0 / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.3217, allocations: 157.7 kB / 1.243 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.3217, allocations: 14.58 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.3218, allocations: 8.953 kB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.3218, allocations: 0 / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.3218, allocations: 34.5 kB / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.3218, allocations: 0 / 1.243 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001061/0.3219, allocations: 49.58 kB / 1.243 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.322, allocations: 55.41 kB / 1.243 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.764e-05/0.322, allocations: 93.8 kB / 1.243 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3221, allocations: 25.7 kB / 1.243 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.3221, allocations: 80.14 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3221, allocations: 4.219 kB / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.3221, allocations: 10.06 kB / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3223, allocations: 318.8 kB / 1.243 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.3223, allocations: 4.125 kB / 1.243 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-06/0.3223, allocations: 0 / 1.243 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.3223, allocations: 12.8 kB / 1.243 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3223, allocations: 0 / 1.243 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.772e-05/0.3224, allocations: 33.69 kB / 1.243 GB, free: 7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3224, allocations: 4 kB / 1.243 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3224, allocations: 3.938 kB / 1.243 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3224, allocations: 7.984 kB / 1.243 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.3225, allocations: 0 / 1.243 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3225, allocations: 4.094 kB / 1.243 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-06/0.3225, allocations: 0 / 1.243 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.3225, allocations: 0 / 1.243 GB, free: 6.98 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 6.986e-05/0.3226, allocations: 114.4 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-06/0.3226, allocations: 0 / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.199e-05/0.3226, allocations: 7.062 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3226, allocations: 0 / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3226, allocations: 0 / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3226, allocations: 3.984 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.3227, allocations: 149.7 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3227, allocations: 3.938 kB / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-06/0.3228, allocations: 0 / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3228, allocations: 0 / 1.244 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3228, allocations: 3.938 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3228, allocations: 4 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3228, allocations: 3.938 kB / 1.244 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.84e-05/0.3229, allocations: 61.12 kB / 1.244 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.3229, allocations: 81.14 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.3229, allocations: 3.938 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-06/0.3229, allocations: 0 / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.323, allocations: 4 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.323, allocations: 3.938 kB / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.323, allocations: 79.28 kB / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.323, allocations: 0 / 1.244 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001731/0.3232, allocations: 0 / 1.244 GB, free: 6.375 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.0003829/0.3236, allocations: 0.5968 MB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.345e-05/0.3236, allocations: 8 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3236, allocations: 0 / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.3236, allocations: 0 / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3238, allocations: 4 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002392/0.324, allocations: 110.7 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3243, allocations: 0.6729 MB / 1.245 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.506e-06/0.3243, allocations: 0 / 1.245 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.3243, allocations: 7.438 kB / 1.245 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3243, allocations: 0 / 1.245 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.3443, allocations: 0.8772 MB / 1.246 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.051, allocations: 17.92 kB / 1.246 GB, free: 4.062 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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