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.001272/0.001272, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001546/0.001546, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.00204/0.00204, allocations: 64.97 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.00435/0.3457, allocations: 2.535 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00359/0.3493, allocations: 1.729 MB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.3497, allocations: 11.88 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.3499, allocations: 47.52 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008138/0.3507, allocations: 154.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3518, allocations: 391 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008791/0.3527, allocations: 0.4945 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.353, allocations: 113.6 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.3533, allocations: 195.2 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.3535, allocations: 183.2 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.335e-05/0.3536, allocations: 28 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/0.3544, allocations: 475.4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.3545, allocations: 75.69 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.3547, allocations: 155.3 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008829/0.3556, allocations: 0.5681 MB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3556, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3556, allocations: 4 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.3556, allocations: 4 kB / 1.334 GB, free: 10.33 MB / 1.029 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.001186/0.3568, allocations: 0.6448 MB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3569, allocations: 12.03 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.611e-05/0.3569, allocations: 16.77 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.357, allocations: 70.73 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.3581, allocations: 128.5 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.3587, allocations: 249.3 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3587, allocations: 25.03 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.3588, allocations: 28.38 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.3595, allocations: 317.9 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3596, allocations: 4 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.3596, allocations: 12 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3596, allocations: 8 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.3605, allocations: 290.3 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.3623, allocations: 0.7884 MB / 1.336 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.3633, allocations: 279.2 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.3637, allocations: 120.8 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.3639, allocations: 11.98 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.3639, allocations: 34.56 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.794e-06/0.3639, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001336/0.3652, allocations: 386.8 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3653, allocations: 63.34 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.3657, allocations: 337.7 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3657, allocations: 29.7 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3659, allocations: 192.7 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.3659, allocations: 87.61 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3661, allocations: 65.95 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3662, allocations: 342.8 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.3666, allocations: 104.5 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.3669, allocations: 113 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/0.3677, allocations: 230.9 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3677, allocations: 0 / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009592/0.3686, allocations: 341.4 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3686, allocations: 4 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3686, allocations: 0 / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3687, allocations: 4 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.3691, allocations: 79.8 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.3691, allocations: 4 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.3694, allocations: 43.83 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3695, allocations: 15.92 kB / 1.339 GB, free: 4.738 MB / 1.029 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.0001675/0.3696, allocations: 150.3 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3698, allocations: 35.77 kB / 1.339 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.3708, allocations: 365.1 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3708, allocations: 0 / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3708, allocations: 3.984 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3708, allocations: 3.938 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.3712, allocations: 292.5 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3712, allocations: 0 / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.3716, allocations: 59.88 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3716, allocations: 0 / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3716, allocations: 11.98 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3716, allocations: 4 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3716, allocations: 3.938 kB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.3725, allocations: 294.8 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3726, allocations: 59.7 kB / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.3727, allocations: 0 / 1.34 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.3729, allocations: 23.97 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.373, allocations: 19.86 kB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.373, allocations: 11.98 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002838/0.3733, allocations: 251.2 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3733, allocations: 0 / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003955/0.3737, allocations: 111.8 kB / 1.34 GB, free: 2.984 MB / 1.029 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.001319/0.375, allocations: 0.8715 MB / 1.341 GB, free: 2.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008158/0.3758, allocations: 235.9 kB / 1.342 GB, free: 1.855 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3758, allocations: 0 / 1.342 GB, free: 1.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.3762, allocations: 107.9 kB / 1.342 GB, free: 1.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.3769, allocations: 123.1 kB / 1.342 GB, free: 1.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.3825, allocations: 3.044 MB / 1.345 GB, free: 14.51 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.3826, allocations: 173.1 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003348/0.383, allocations: 74.81 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.3832, allocations: 111.4 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of SimCode: time 1.272e-06/0.3832, allocations: 0 / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03441/0.4176, allocations: 9.635 MB / 1.354 GB, free: 4.773 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.68, allocations: 7.906 kB / 1.354 GB, free: 4.77 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.76653506490402]