Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8779/0.8779, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.832e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001207/0.001226, allocations: 0.6027 MB / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 4.127e-05/0.001267, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.001286, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.001313, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-06/0.001319, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.334e-05/0.001352, allocations: 0 / 0.9815 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.001407, allocations: 19.97 kB / 0.9815 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.001451, allocations: 0 / 0.9815 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.001482, allocations: 0 / 0.9815 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.001501, allocations: 0 / 0.9815 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.001518, allocations: 0 / 0.9815 GB, free: 2.023 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.001522, allocations: 7.938 kB / 0.9815 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.001535, allocations: 3.938 kB / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.00155, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 4.958e-05/0.0016, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.001602, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.143e-06/0.001603, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.001607, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 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.0002267/0.001834, allocations: 246.4 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.001873, allocations: 8.031 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.001905, allocations: 34.75 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.001925, allocations: 0.9375 kB / 0.9818 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.152e-05/0.001987, allocations: 101.8 kB / 0.9819 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.001997, allocations: 384 / 0.9819 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.002004, allocations: 384 / 0.9819 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.232e-05/0.002086, allocations: 34.25 kB / 0.9819 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.002094, allocations: 192 / 0.9819 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.0021, allocations: 384 / 0.9819 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.002107, allocations: 8.125 kB / 0.9819 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.002125, allocations: 3.938 kB / 0.9819 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.002232, allocations: 124.8 kB / 0.9821 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.002266, allocations: 18.52 kB / 0.9821 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.002286, allocations: 8.953 kB / 0.9821 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-06/0.002294, allocations: 0 / 0.9821 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.002314, allocations: 30.56 kB / 0.9821 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002315, allocations: 0 / 0.9821 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001125/0.002428, allocations: 41.64 kB / 0.9822 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.002459, allocations: 59.47 kB / 0.9822 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.574e-05/0.002484, allocations: 89.86 kB / 0.9823 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.002496, allocations: 29.69 kB / 0.9823 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.002516, allocations: 80.14 kB / 0.9824 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.002544, allocations: 0 / 0.9824 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.002566, allocations: 13.72 kB / 0.9824 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.002649, allocations: 314.8 kB / 0.9827 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.002658, allocations: 0 / 0.9827 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.002665, allocations: 8 kB / 0.9827 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.002687, allocations: 4.859 kB / 0.9827 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.002688, allocations: 4.062 kB / 0.9827 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.367e-05/0.002722, allocations: 37.64 kB / 0.9828 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.002734, allocations: 4 kB / 0.9828 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.002742, allocations: 3.984 kB / 0.9828 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.002754, allocations: 0 / 0.9828 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.546e-05/0.002809, allocations: 4 kB / 0.9828 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.002815, allocations: 3.938 kB / 0.9828 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.733e-06/0.002822, allocations: 0 / 0.9828 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.002827, allocations: 0 / 0.9828 GB, free: 0.5234 MB / 0.9323 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 5.68e-05/0.002884, allocations: 109.8 kB / 0.9829 GB, free: 416 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-06/0.002887, allocations: 4.031 kB / 0.9829 GB, free: 412 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.002901, allocations: 7 kB / 0.9829 GB, free: 408 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.002903, allocations: 0 / 0.9829 GB, free: 408 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.002909, allocations: 3.938 kB / 0.9829 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.002911, allocations: 0 / 0.9829 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.918e-05/0.002971, allocations: 116.8 kB / 0.983 GB, free: 244 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.002971, allocations: 0 / 0.983 GB, free: 244 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-06/0.002976, allocations: 4 kB / 0.983 GB, free: 240 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.002978, allocations: 0 / 0.983 GB, free: 240 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.002984, allocations: 4 kB / 0.983 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.002985, allocations: 0 / 0.983 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.002988, allocations: 7.938 kB / 0.983 GB, free: 228 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.441e-05/0.003032, allocations: 65.06 kB / 0.9831 GB, free: 144 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-06/0.003036, allocations: 0 / 0.9831 GB, free: 144 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-06/0.003043, allocations: 0 / 0.9831 GB, free: 144 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-06/0.003047, allocations: 4 kB / 0.9831 GB, free: 140 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.00306, allocations: 7.875 kB / 0.9831 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-07/0.003061, allocations: 0 / 0.9831 GB, free: 132 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.142e-05/0.003082, allocations: 75.28 kB / 0.9832 GB, free: 56 kB / 0.9323 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003082, allocations: 0 / 0.9832 GB, free: 56 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0001167/0.003199, allocations: 0 / 0.9832 GB, free: 56 kB / 0.9323 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.0002336/0.003433, allocations: 0.5929 MB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.003498, allocations: 7.938 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0035, allocations: 0 / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.003504, allocations: 4 kB / 0.9838 GB, free: 15.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.003606, allocations: 3.938 kB / 0.9838 GB, free: 15.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.003851, allocations: 110.5 kB / 0.9839 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.003885, allocations: 55.36 kB / 0.9839 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.146e-05/0.003897, allocations: 160 / 0.9839 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.003917, allocations: 12.5 kB / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.003917, allocations: 0 / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.01899, allocations: 1.513 MB / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.147, allocations: 16.3 kB / 0.9854 GB, free: 13.78 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.26446221023798]