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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006722/0.006722, allocations: 99.91 kB / 15.73 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 195.6 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.9/2.9, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.11 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3622, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004002/0.3662, allocations: 2.713 MB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003654/0.3699, allocations: 1.764 MB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.3704, allocations: 4 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.3706, allocations: 47.45 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007066/0.3713, allocations: 142.9 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3725, allocations: 381.6 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000732/0.3732, allocations: 490.5 kB / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.3735, allocations: 153 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.3739, allocations: 195.2 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.3742, allocations: 179.2 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.373e-05/0.3743, allocations: 32 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.3751, allocations: 447.5 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.3752, allocations: 75.62 kB / 1.214 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.3755, allocations: 187.1 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007331/0.3762, allocations: 0.5491 MB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3762, allocations: 0 / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.176e-06/0.3762, allocations: 0 / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3763, allocations: 3.938 kB / 1.214 GB, free: 2.809 MB / 0.9669 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.001043/0.3773, allocations: 0.6976 MB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3773, allocations: 12.62 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.955e-05/0.3774, allocations: 66.72 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.3783, allocations: 120.3 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.3787, allocations: 311.3 kB / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.3788, allocations: 21.03 kB / 1.216 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.3788, allocations: 36.31 kB / 1.216 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.3795, allocations: 326.1 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3795, allocations: 0 / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.3796, allocations: 8 kB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.3796, allocations: 8 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007742/0.3803, allocations: 286.4 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.382, allocations: 0.9007 MB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.3828, allocations: 296.3 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.3832, allocations: 124.8 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.3833, allocations: 89.09 kB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3834, allocations: 38.56 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.3834, allocations: 3.938 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001266/0.3847, allocations: 391 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.3847, allocations: 55.34 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.385, allocations: 345.7 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3851, allocations: 29.7 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3852, allocations: 192.9 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.3853, allocations: 82.75 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3854, allocations: 57.97 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3856, allocations: 346.8 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.3859, allocations: 104.5 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.3863, allocations: 105 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.387, allocations: 227 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.387, allocations: 3.938 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009132/0.3879, allocations: 337.2 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3879, allocations: 8 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3879, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.388, allocations: 4 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.3884, allocations: 83.86 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3884, allocations: 3.938 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3887, allocations: 47.58 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.3888, allocations: 11.98 kB / 1.22 GB, free: 12.87 MB / 0.9825 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.0001687/0.3889, allocations: 141.8 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3891, allocations: 31.62 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009697/0.39, allocations: 376 kB / 1.22 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3901, allocations: 0 / 1.22 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3901, allocations: 4 kB / 1.22 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3901, allocations: 11.92 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.3905, allocations: 345.3 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3905, allocations: 0 / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.3908, allocations: 55.89 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.3908, allocations: 3.984 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.3909, allocations: 4 kB / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3909, allocations: 0 / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3909, allocations: 0 / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.3917, allocations: 306.8 kB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.3918, allocations: 132.6 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.3919, allocations: 8 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.3921, allocations: 15.98 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.3922, allocations: 15.97 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3922, allocations: 7.938 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002437/0.3925, allocations: 259.2 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.555e-06/0.3925, allocations: 0 / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003765/0.3929, allocations: 103.8 kB / 1.222 GB, free: 10.96 MB / 0.9825 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.001183/0.3941, allocations: 0.858 MB / 1.223 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007548/0.3948, allocations: 254.3 kB / 1.223 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3948, allocations: 0 / 1.223 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.3952, allocations: 119.8 kB / 1.223 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.3958, allocations: 118.4 kB / 1.223 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.4006, allocations: 3.028 MB / 1.226 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.4009, allocations: 0.7795 MB / 1.227 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000295/0.4012, allocations: 70.81 kB / 1.227 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.4014, allocations: 115.4 kB / 1.227 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.4014, allocations: 0 / 1.227 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.4302, allocations: 8.707 MB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.745, allocations: 6.203 kB / 1.235 GB, free: 12.95 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) 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) Reference file matches