Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_9_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.007789/0.007789, allocations: 103.7 kB / 15.74 MB, free: 6.062 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.001857/0.001857, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7264, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00149/0.7279, allocations: 0.5989 MB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.475e-05/0.7279, allocations: 5.656 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.728, allocations: 0 / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.728, allocations: 0 / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.728, allocations: 0 / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.474e-05/0.728, allocations: 6.391 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.7281, allocations: 4 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.7281, allocations: 2.109 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.7282, allocations: 0 / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.886e-05/0.7282, allocations: 2.422 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.7282, allocations: 0 / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-06/0.7282, allocations: 0 / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.7282, allocations: 3.984 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.7282, allocations: 3.938 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 4.921e-05/0.7283, allocations: 2.328 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7283, allocations: 0.5156 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7283, allocations: 4 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.7283, allocations: 0 / 1.088 GB, free: 4.883 MB / 0.8575 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.000175/0.7285, allocations: 308.5 kB / 1.088 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.7285, allocations: 10.17 kB / 1.088 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.7286, allocations: 35.84 kB / 1.088 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.654e-05/0.7286, allocations: 0.9375 kB / 1.088 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.333e-05/0.7286, allocations: 162 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.7286, allocations: 1.594 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.7287, allocations: 384 / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.347e-05/0.7287, allocations: 37.03 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.7287, allocations: 3.938 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.7287, allocations: 0 / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.7288, allocations: 1.219 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.319e-05/0.7288, allocations: 1.734 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.306e-05/0.7288, allocations: 144.4 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.65e-05/0.7289, allocations: 20.3 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.7289, allocations: 13.03 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.7289, allocations: 3.938 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.7289, allocations: 32.39 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.7289, allocations: 0 / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 9.31e-05/0.729, allocations: 39.52 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/0.7291, allocations: 55.34 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.217e-05/0.7291, allocations: 90.56 kB / 1.089 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-06/0.7291, allocations: 27.05 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.606e-06/0.7291, allocations: 84.27 kB / 1.089 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.7291, allocations: 5.094 kB / 1.089 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.7292, allocations: 11.52 kB / 1.089 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.7292, allocations: 312.7 kB / 1.089 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.7292, allocations: 0 / 1.089 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.7292, allocations: 5.766 kB / 1.089 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.7292, allocations: 11.98 kB / 1.089 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.7292, allocations: 4.062 kB / 1.089 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.84e-05/0.7293, allocations: 32.8 kB / 1.089 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.7293, allocations: 5.672 kB / 1.089 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7293, allocations: 3.938 kB / 1.089 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.7293, allocations: 0 / 1.089 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.7294, allocations: 3.016 kB / 1.089 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.7294, allocations: 0 / 1.089 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.7294, allocations: 5.109 kB / 1.089 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.7294, allocations: 4.797 kB / 1.089 GB, free: 3.27 MB / 0.8575 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 3.455e-05/0.7294, allocations: 111 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.7295, allocations: 5.641 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.419e-05/0.7295, allocations: 11.86 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7295, allocations: 1.188 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.7295, allocations: 0 / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7295, allocations: 0 / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.164e-05/0.7295, allocations: 145.2 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7295, allocations: 1.094 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-06/0.7296, allocations: 1.719 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.7296, allocations: 0 / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.7296, allocations: 12.83 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7296, allocations: 0.7031 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7296, allocations: 1.156 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.168e-05/0.7296, allocations: 56.16 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.7296, allocations: 79.06 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.7297, allocations: 4.641 kB / 1.09 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-06/0.7297, allocations: 1.406 kB / 1.09 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.7297, allocations: 0.6406 kB / 1.09 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.7297, allocations: 5.375 kB / 1.09 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.057e-05/0.7297, allocations: 79.22 kB / 1.09 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.72e-07/0.7297, allocations: 0 / 1.09 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001943/0.7299, allocations: 5.594 kB / 1.09 GB, free: 2.688 MB / 0.8575 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.0001662/0.7301, allocations: 0.5962 MB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.057e-05/0.7301, allocations: 3.438 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.7301, allocations: 0 / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.7302, allocations: 6.562 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.7303, allocations: 1.672 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.7305, allocations: 103.4 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.7308, allocations: 0.6697 MB / 1.091 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.518e-06/0.7308, allocations: 1.75 kB / 1.091 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.7308, allocations: 11.56 kB / 1.091 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7308, allocations: 0.9688 kB / 1.091 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.7455, allocations: 0.8721 MB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.885, allocations: 11.38 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches