Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.0008114/0.0008114, 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.001342/0.001342, allocations: 165.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.8907/0.8907, allocations: 177.1 MB / 202.8 MB, free: 5.754 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 1.748/1.748, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.14e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002533/0.002555, allocations: 1.862 MB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.00462, allocations: 1.803 MB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.004731, allocations: 0 / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.004974, allocations: 19.8 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.005447, allocations: 135.1 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.005834, allocations: 170.9 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.00614, allocations: 309.1 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.006256, allocations: 29.28 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.006414, allocations: 143.7 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.006581, allocations: 91.81 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.006615, allocations: 24 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.00685, allocations: 127.7 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.693e-05/0.006947, allocations: 91.73 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.007028, allocations: 91.8 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.007479, allocations: 406.6 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.007484, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.452e-06/0.007485, allocations: 4 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.007491, allocations: 0 / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007062/0.008197, allocations: 0.5234 MB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.008239, allocations: 12.75 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.008287, allocations: 50.73 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.008423, allocations: 36.75 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.008665, allocations: 224.7 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.008683, allocations: 16.75 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.008704, allocations: 16.38 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.009032, allocations: 381.1 kB / 1.006 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.009041, allocations: 4 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.009062, allocations: 12 kB / 1.006 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.009069, allocations: 4 kB / 1.006 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000539/0.009608, allocations: 0.6976 MB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.01044, allocations: 0.5775 MB / 1.007 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.01082, allocations: 290.4 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.01093, allocations: 104.8 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.01097, allocations: 15.98 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.0113, allocations: 240 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.0113, allocations: 0 / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.0005169/0.01182, allocations: 377.7 kB / 1.008 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.01189, allocations: 148.3 kB / 1.008 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.01213, allocations: 321.8 kB / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.01216, allocations: 33.7 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.01224, allocations: 145 kB / 1.009 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.01231, allocations: 119 kB / 1.009 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.01238, allocations: 65.69 kB / 1.009 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.01249, allocations: 342.8 kB / 1.009 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01259, allocations: 87.95 kB / 1.009 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.01275, allocations: 208.5 kB / 1.01 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.01298, allocations: 214.1 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01298, allocations: 4 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003159/0.0133, allocations: 294.1 kB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01332, allocations: 8 kB / 1.01 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.01332, allocations: 0 / 1.01 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.01334, allocations: 3.938 kB / 1.01 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.0135, allocations: 67.84 kB / 1.01 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01351, allocations: 4 kB / 1.01 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.0136, allocations: 35.81 kB / 1.01 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.01362, allocations: 19.97 kB / 1.01 GB, free: 2.262 MB / 0.9636 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 (38): * Single equations (assignments): 38 * 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 0.0001293/0.01375, allocations: 165.8 kB / 1.01 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.01379, allocations: 27.81 kB / 1.01 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.01424, allocations: 380.9 kB / 1.011 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.01425, allocations: 8 kB / 1.011 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.01425, allocations: 7.938 kB / 1.011 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01426, allocations: 3.984 kB / 1.011 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.0145, allocations: 288.5 kB / 1.011 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.0145, allocations: 0 / 1.011 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.0146, allocations: 59.91 kB / 1.011 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01461, allocations: 4 kB / 1.011 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01462, allocations: 11.98 kB / 1.011 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.01463, allocations: 4 kB / 1.011 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.01463, allocations: 3.938 kB / 1.011 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.01496, allocations: 331.2 kB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.01507, allocations: 75.67 kB / 1.012 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.0151, allocations: 12 kB / 1.012 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01521, allocations: 23.97 kB / 1.012 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.01526, allocations: 23.89 kB / 1.012 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01528, allocations: 16 kB / 1.012 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001669/0.01545, allocations: 249.2 kB / 1.012 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01545, allocations: 0 / 1.012 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000282/0.01573, allocations: 87.81 kB / 1.012 GB, free: 456 kB / 0.9636 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 (36): * Single equations (assignments): 34 * 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 0.001286/0.01702, allocations: 1.253 MB / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.01734, allocations: 236 kB / 1.013 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01735, allocations: 0 / 1.013 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.01747, allocations: 131.5 kB / 1.014 GB, free: 15 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.01771, allocations: 46.94 kB / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.01992, allocations: 2.614 MB / 1.016 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.02003, allocations: 155 kB / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002257/0.02025, allocations: 142.9 kB / 1.016 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.02037, allocations: 108.4 kB / 1.017 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of SimCode: time 9.92e-07/0.02038, allocations: 0 / 1.017 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.04623, allocations: 7.405 MB / 1.024 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.068/7.114, allocations: 5.969 kB / 1.024 GB, free: 4.52 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.319798368029296]