Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0009019/0.0009019, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.0009228/0.0009228, allocations: 177 kB / 23.36 MB, free: 1.137 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.9452/0.9452, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.414/2.414, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.216e-05, allocations: 5.125 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001926/0.001948, allocations: 1.51 MB / 0.8401 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003715/0.002319, allocations: 183.2 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.00236, allocations: 0 / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.893e-05/0.002389, allocations: 3.938 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.002612, allocations: 35.78 kB / 0.8403 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.002767, allocations: 55.84 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.002858, allocations: 59.83 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.954e-05/0.002928, allocations: 4 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.003006, allocations: 39.91 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.003084, allocations: 19.97 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.003108, allocations: 4 kB / 0.8405 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.00312, allocations: 4 kB / 0.8405 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.003143, allocations: 15.92 kB / 0.8405 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.003174, allocations: 23.91 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.715e-05/0.003261, allocations: 51.81 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.003263, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003264, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003268, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003431/0.003611, allocations: 256.9 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.003643, allocations: 8.625 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.003673, allocations: 4.938 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.164e-05/0.003754, allocations: 109.8 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.003768, allocations: 4.375 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.003782, allocations: 12.36 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.003904, allocations: 132.9 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003912, allocations: 8.172 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.003921, allocations: 4.375 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003927, allocations: 384 / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.003952, allocations: 15.92 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.004229, allocations: 168.2 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.004299, allocations: 30.56 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.004314, allocations: 8.859 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.004321, allocations: 4 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.687e-05/0.004408, allocations: 63.55 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.00441, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001205/0.00453, allocations: 61.55 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.004592, allocations: 106.8 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.004656, allocations: 106.7 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.004674, allocations: 29.7 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.004711, allocations: 88.06 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.004731, allocations: 15.91 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.004774, allocations: 25.69 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.004855, allocations: 314.8 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.004868, allocations: 11.92 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.004914, allocations: 85.95 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.004952, allocations: 24.78 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.004954, allocations: 0 / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.819e-05/0.005022, allocations: 53.67 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.005035, allocations: 4 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.005041, allocations: 3.938 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.005055, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.005123, allocations: 8 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.005126, allocations: 0 / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.005178, allocations: 15.98 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.005185, allocations: 4.031 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.198e-05/0.005257, allocations: 113.8 kB / 0.8424 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.005269, allocations: 7.984 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.005293, allocations: 11.75 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005295, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.005297, allocations: 0.5 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.005301, allocations: 0 / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.258e-05/0.005374, allocations: 73.88 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.005376, allocations: 4 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.005387, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005389, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.005394, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.005395, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005396, allocations: 7.938 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.005465, allocations: 77.05 kB / 0.8425 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.005492, allocations: 11.89 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.005506, allocations: 0 / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.00554, allocations: 11.98 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.005564, allocations: 7.938 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.005568, allocations: 3.984 kB / 0.8426 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.46e-05/0.005583, allocations: 12.84 kB / 0.8426 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005583, allocations: 4 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001038/0.005687, allocations: 12 kB / 0.8426 GB, free: 9.871 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 7.898e-05/0.005766, allocations: 80.42 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.496e-05/0.005841, allocations: 24.84 kB / 0.8427 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.005843, allocations: 7.938 kB / 0.8427 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.459e-05/0.005868, allocations: 20.78 kB / 0.8427 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.799e-05/0.005936, allocations: 8 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.006277, allocations: 136.5 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.006307, allocations: 59.36 kB / 0.8429 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.006341, allocations: 11.97 kB / 0.8429 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.006419, allocations: 63.36 kB / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.006419, allocations: 0 / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of Templates: time 0.002621/0.009041, allocations: 1.07 MB / 0.844 GB, free: 8.363 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.107765391934663]