Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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.001538/0.001538, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001669/0.001669, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.913/2.913, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.89 kB / 1.165 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8256, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003353/0.829, allocations: 2.732 MB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.8317, allocations: 1.862 MB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002028/0.8319, allocations: 8.938 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.832, allocations: 46.23 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000472/0.8324, allocations: 162.5 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.8333, allocations: 386.8 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005807/0.8339, allocations: 0.4979 MB / 1.346 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.8341, allocations: 105.6 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.8343, allocations: 199.5 kB / 1.346 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.8345, allocations: 182.3 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.8345, allocations: 28.88 kB / 1.346 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006919/0.8352, allocations: 474 kB / 1.347 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.8353, allocations: 74.98 kB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.8354, allocations: 192 kB / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.8361, allocations: 0.5577 MB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8361, allocations: 0 / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8361, allocations: 0 / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.8361, allocations: 0.8438 kB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00102/0.8372, allocations: 0.7373 MB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8372, allocations: 10.09 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.147e-05/0.8372, allocations: 7.562 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.8373, allocations: 67.69 kB / 1.348 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.8384, allocations: 131.3 kB / 1.348 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.8388, allocations: 315.2 kB / 1.349 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.8388, allocations: 25.84 kB / 1.349 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.8389, allocations: 28.69 kB / 1.349 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.8396, allocations: 314.4 kB / 1.349 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.8396, allocations: 4 kB / 1.349 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.8397, allocations: 14.5 kB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.8397, allocations: 7.984 kB / 1.349 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/0.8405, allocations: 288.8 kB / 1.349 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.8421, allocations: 0.9081 MB / 1.35 GB, free: 9.984 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008989/0.843, allocations: 277.1 kB / 1.35 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.8433, allocations: 123.1 kB / 1.351 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.8435, allocations: 87.56 kB / 1.351 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.8435, allocations: 36.45 kB / 1.351 GB, free: 9.711 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.8435, allocations: 4 kB / 1.351 GB, free: 9.707 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001335/0.8448, allocations: 388.3 kB / 1.351 GB, free: 9.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.8448, allocations: 59.14 kB / 1.351 GB, free: 9.504 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.8452, allocations: 334.6 kB / 1.351 GB, free: 9.336 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.8452, allocations: 31.92 kB / 1.351 GB, free: 9.301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.8453, allocations: 190.5 kB / 1.352 GB, free: 9.141 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.8454, allocations: 91.45 kB / 1.352 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.8455, allocations: 64.03 kB / 1.352 GB, free: 9.027 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.8456, allocations: 352.7 kB / 1.352 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.8459, allocations: 101 kB / 1.352 GB, free: 8.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.8463, allocations: 107.1 kB / 1.352 GB, free: 8.641 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/0.847, allocations: 235.1 kB / 1.353 GB, free: 8.555 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.847, allocations: 0 / 1.353 GB, free: 8.555 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009266/0.848, allocations: 336 kB / 1.353 GB, free: 8.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.848, allocations: 5.031 kB / 1.353 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.848, allocations: 0 / 1.353 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.848, allocations: 1.656 kB / 1.353 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.8484, allocations: 86.31 kB / 1.353 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.8484, allocations: 1.062 kB / 1.353 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.8487, allocations: 49.75 kB / 1.353 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.8487, allocations: 10.14 kB / 1.353 GB, free: 8.383 MB / 1.061 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 (33): * Single equations (assignments): 33 * 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.0001084/0.8489, allocations: 146.8 kB / 1.353 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.849, allocations: 37.77 kB / 1.353 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009765/0.85, allocations: 366.4 kB / 1.354 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.85, allocations: 2.156 kB / 1.354 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.85, allocations: 0 / 1.354 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.85, allocations: 6.344 kB / 1.354 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.8503, allocations: 351.2 kB / 1.354 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8503, allocations: 0 / 1.354 GB, free: 7.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.8507, allocations: 59.2 kB / 1.354 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.8507, allocations: 0.6094 kB / 1.354 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.8507, allocations: 5.562 kB / 1.354 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.8507, allocations: 1.062 kB / 1.354 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8507, allocations: 4.594 kB / 1.354 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.8515, allocations: 305.2 kB / 1.354 GB, free: 7.621 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.8516, allocations: 130 kB / 1.354 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.8516, allocations: 13.28 kB / 1.354 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.8519, allocations: 16.31 kB / 1.354 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.8519, allocations: 18.22 kB / 1.354 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.852, allocations: 11.44 kB / 1.354 GB, free: 7.477 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002258/0.8522, allocations: 251.7 kB / 1.355 GB, free: 7.348 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8522, allocations: 1.406 kB / 1.355 GB, free: 7.348 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003898/0.8526, allocations: 104.3 kB / 1.355 GB, free: 7.328 MB / 1.061 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 (21): * Single equations (assignments): 21 * 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.001078/0.8537, allocations: 0.8802 MB / 1.356 GB, free: 6.637 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008026/0.8545, allocations: 234.5 kB / 1.356 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8545, allocations: 1.125 kB / 1.356 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.8548, allocations: 108.5 kB / 1.356 GB, free: 6.551 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.8554, allocations: 114.4 kB / 1.356 GB, free: 6.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.8601, allocations: 3.041 MB / 1.359 GB, free: 4.746 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.8603, allocations: 0.7794 MB / 1.36 GB, free: 4.039 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.8606, allocations: 78.53 kB / 1.36 GB, free: 4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.8608, allocations: 112.8 kB / 1.36 GB, free: 3.926 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.8608, allocations: 0 / 1.36 GB, free: 3.926 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.8905, allocations: 8.831 MB / 1.369 GB, free: 3.008 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.534, allocations: 17.92 kB / 1.369 GB, free: 2.996 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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: 15.924850347975735]