Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001271/0.001271, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001431/0.001431, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.488/1.488, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7678 GB, free: 9.434 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.002235/0.002235, allocations: 63.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196/1.198, allocations: 169.9 MB / 1.279 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006036/1.204, allocations: 3.776 MB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005325/1.21, allocations: 2.579 MB / 1.285 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/1.21, allocations: 25.31 kB / 1.285 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/1.211, allocations: 254.9 kB / 1.285 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/1.212, allocations: 0.4942 MB / 1.286 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/1.214, allocations: 0.5449 MB / 1.286 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001968/1.216, allocations: 1.388 MB / 1.288 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/1.216, allocations: 102.5 kB / 1.288 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/1.217, allocations: 443.7 kB / 1.288 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000781/1.218, allocations: 489.3 kB / 1.289 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/1.218, allocations: 59.81 kB / 1.289 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/1.218, allocations: 68.38 kB / 1.289 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000499/1.219, allocations: 381.5 kB / 1.289 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005416/1.219, allocations: 473.4 kB / 1.29 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/1.221, allocations: 0.9533 MB / 1.291 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.221, allocations: 5.219 kB / 1.291 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.221, allocations: 0 / 1.291 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.056e-05/1.221, allocations: 0 / 1.291 GB, free: 4.727 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002925/1.224, allocations: 1.309 MB / 1.292 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.224, allocations: 10.64 kB / 1.292 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.198e-05/1.224, allocations: 9.031 kB / 1.292 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.994e-05/1.224, allocations: 77.3 kB / 1.292 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/1.224, allocations: 112.4 kB / 1.292 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/1.225, allocations: 0.6817 MB / 1.293 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/1.225, allocations: 42.81 kB / 1.293 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.225, allocations: 61.48 kB / 1.293 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/1.226, allocations: 412.3 kB / 1.293 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.226, allocations: 0 / 1.293 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/1.226, allocations: 16.12 kB / 1.293 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/1.226, allocations: 11.89 kB / 1.293 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/1.227, allocations: 232.5 kB / 1.294 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/1.23, allocations: 2.499 MB / 1.296 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.232, allocations: 0.5298 MB / 1.296 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/1.232, allocations: 147 kB / 1.297 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/1.232, allocations: 2.219 kB / 1.297 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.232, allocations: 40.88 kB / 1.297 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/1.232, allocations: 0 / 1.297 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001939/1.234, allocations: 0.8906 MB / 1.298 GB, free: 296 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/1.234, allocations: 55.94 kB / 1.298 GB, free: 232 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.236, allocations: 0.9323 MB / 1.298 GB, free: 15.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/1.236, allocations: 41.33 kB / 1.299 GB, free: 15.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/1.236, allocations: 369.3 kB / 1.299 GB, free: 15.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/1.237, allocations: 116.9 kB / 1.299 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/1.237, allocations: 172.5 kB / 1.299 GB, free: 15.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002475/1.237, allocations: 398.6 kB / 1.3 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/1.238, allocations: 241.6 kB / 1.3 GB, free: 14.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/1.238, allocations: 0.6378 MB / 1.3 GB, free: 14.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/1.24, allocations: 0.898 MB / 1.301 GB, free: 13.56 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.24, allocations: 5.281 kB / 1.301 GB, free: 13.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002092/1.242, allocations: 1.014 MB / 1.302 GB, free: 13.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/1.242, allocations: 15.06 kB / 1.302 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.242, allocations: 17.91 kB / 1.302 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/1.243, allocations: 127.5 kB / 1.302 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/1.243, allocations: 193.1 kB / 1.303 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/1.247, allocations: 4.48 MB / 1.307 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.249, allocations: 117.9 kB / 1.307 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.249, allocations: 44 kB / 1.307 GB, free: 8.641 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005016/1.249, allocations: 272.9 kB / 1.307 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/1.25, allocations: 87.61 kB / 1.307 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/1.25, allocations: 80.55 kB / 1.308 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.25, allocations: 3.656 kB / 1.308 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/1.25, allocations: 1.062 kB / 1.308 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.25, allocations: 2.406 kB / 1.308 GB, free: 8.344 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/1.251, allocations: 0.6603 MB / 1.308 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/1.251, allocations: 0 / 1.308 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003377/1.251, allocations: 61.81 kB / 1.308 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/1.251, allocations: 104.9 kB / 1.308 GB, free: 7.945 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/1.252, allocations: 13.16 kB / 1.308 GB, free: 7.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/1.256, allocations: 4.45 MB / 1.313 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.256, allocations: 0 / 1.313 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/1.257, allocations: 0.7559 MB / 1.313 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/1.258, allocations: 213.2 kB / 1.314 GB, free: 3.031 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.964e-05/1.258, allocations: 9.594 kB / 1.314 GB, free: 3.027 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/1.258, allocations: 24.28 kB / 1.314 GB, free: 3.023 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.259, allocations: 26.92 kB / 1.314 GB, free: 3.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/1.259, allocations: 6.344 kB / 1.314 GB, free: 3.016 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001138/1.26, allocations: 0.6308 MB / 1.314 GB, free: 2.766 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.26, allocations: 0 / 1.314 GB, free: 2.766 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001309/1.261, allocations: 265.7 kB / 1.315 GB, free: 2.738 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001763/1.263, allocations: 1.293 MB / 1.316 GB, free: 1.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00179/1.265, allocations: 0.9078 MB / 1.317 GB, free: 1.297 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.265, allocations: 1.812 kB / 1.317 GB, free: 1.297 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/1.265, allocations: 0.5191 MB / 1.317 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.266, allocations: 171.9 kB / 1.317 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.282, allocations: 7.84 MB / 1.325 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/1.283, allocations: 0.9884 MB / 1.326 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006024/1.284, allocations: 151 kB / 1.326 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/1.284, allocations: 278.9 kB / 1.326 GB, free: 11.23 MB / 1.029 GB Notification: Performance of SimCode: time 1.102e-06/1.284, allocations: 0 / 1.326 GB, free: 11.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/1.351, allocations: 17.55 MB / 1.344 GB, free: 3.414 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.51, allocations: 10.75 kB / 1.344 GB, free: 3.41 MB / 1.029 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 20.1065976319951]