Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001657/0.001657, 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.002047/0.002047, 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.859/2.859, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_12_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.001942/0.001942, allocations: 63.91 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.921/0.923, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002906/0.9259, allocations: 2.737 MB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.9282, allocations: 1.864 MB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.9284, allocations: 6.625 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.203e-05/0.9284, allocations: 51.36 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.9289, allocations: 161.5 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007093/0.9296, allocations: 390.2 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.9301, allocations: 0.496 MB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.9303, allocations: 113.5 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.9305, allocations: 198.9 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.9307, allocations: 178.9 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.9307, allocations: 29.44 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007215/0.9314, allocations: 476 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.9315, allocations: 67.94 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.9317, allocations: 192.3 kB / 1.328 GB, free: 20.42 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.9323, allocations: 0.5613 MB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9323, allocations: 4 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9323, allocations: 0 / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.9323, allocations: 0.9375 kB / 1.329 GB, free: 20.19 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.001023/0.9334, allocations: 0.7358 MB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.9334, allocations: 9.406 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.721e-05/0.9334, allocations: 8.781 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.9335, allocations: 65.92 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.9346, allocations: 128.6 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.935, allocations: 311.2 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.935, allocations: 21.59 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.9351, allocations: 33.28 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.9358, allocations: 319.1 kB / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.9359, allocations: 0 / 1.33 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.9359, allocations: 10.94 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.9359, allocations: 6.875 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.9368, allocations: 289.7 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.9383, allocations: 0.8997 MB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008921/0.9392, allocations: 279.9 kB / 1.332 GB, free: 18.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.9396, allocations: 121.7 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.9397, allocations: 87.12 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.9397, allocations: 36.78 kB / 1.332 GB, free: 18.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/0.9397, allocations: 1.188 kB / 1.332 GB, free: 18.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001325/0.941, allocations: 387.7 kB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.9411, allocations: 63.12 kB / 1.332 GB, free: 17.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.9414, allocations: 339.1 kB / 1.333 GB, free: 17.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.9414, allocations: 30.89 kB / 1.333 GB, free: 17.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.9415, allocations: 185.9 kB / 1.333 GB, free: 17.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.9416, allocations: 92.31 kB / 1.333 GB, free: 17.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.9417, allocations: 64.67 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.9417, allocations: 344.2 kB / 1.333 GB, free: 17.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.9421, allocations: 104.8 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.9424, allocations: 110.4 kB / 1.334 GB, free: 17.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/0.9431, allocations: 243 kB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9431, allocations: 0 / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009989/0.9441, allocations: 335.5 kB / 1.334 GB, free: 16.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.9442, allocations: 5.5 kB / 1.334 GB, free: 16.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9442, allocations: 0 / 1.334 GB, free: 16.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.9442, allocations: 2.094 kB / 1.334 GB, free: 16.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.9446, allocations: 77.11 kB / 1.334 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.9446, allocations: 1.953 kB / 1.334 GB, free: 16.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.945, allocations: 52.7 kB / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.945, allocations: 15.23 kB / 1.334 GB, free: 16.83 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.0001379/0.9451, allocations: 140.6 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.9453, allocations: 37.88 kB / 1.335 GB, free: 16.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.9464, allocations: 371.5 kB / 1.335 GB, free: 16.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.9464, allocations: 6.625 kB / 1.335 GB, free: 16.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.9464, allocations: 0.5 kB / 1.335 GB, free: 16.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.9465, allocations: 13.75 kB / 1.335 GB, free: 16.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.9469, allocations: 350.8 kB / 1.335 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.9469, allocations: 0.5938 kB / 1.335 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.9473, allocations: 51 kB / 1.335 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9473, allocations: 1.031 kB / 1.335 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.9473, allocations: 10.03 kB / 1.335 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.9473, allocations: 5.094 kB / 1.335 GB, free: 16.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9473, allocations: 4.438 kB / 1.335 GB, free: 16.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.9483, allocations: 301 kB / 1.336 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.9484, allocations: 129.5 kB / 1.336 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.9485, allocations: 6.688 kB / 1.336 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.9487, allocations: 18.02 kB / 1.336 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.9488, allocations: 19.78 kB / 1.336 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.9488, allocations: 10.47 kB / 1.336 GB, free: 15.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002456/0.949, allocations: 252.8 kB / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.949, allocations: 0 / 1.336 GB, free: 15.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004131/0.9494, allocations: 109.3 kB / 1.336 GB, free: 15.78 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.001106/0.9505, allocations: 0.8712 MB / 1.337 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008421/0.9514, allocations: 232.5 kB / 1.337 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9514, allocations: 4 kB / 1.337 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.9518, allocations: 105.3 kB / 1.337 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.9524, allocations: 122 kB / 1.337 GB, free: 14.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.9571, allocations: 3.049 MB / 1.34 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.9573, allocations: 0.7765 MB / 1.341 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.9576, allocations: 68.38 kB / 1.341 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.9578, allocations: 113.1 kB / 1.341 GB, free: 12.38 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/0.9578, allocations: 0 / 1.341 GB, free: 12.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.9917, allocations: 8.823 MB / 1.35 GB, free: 11.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.562/9.554, allocations: 4.281 kB / 1.35 GB, free: 11.46 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.87477057398064]