Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.007241/0.007242, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001696/0.001696, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.75 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2655, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005038/0.2706, allocations: 3.74 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004167/0.2748, allocations: 2.502 MB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.2753, allocations: 15.88 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.2762, allocations: 250.7 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.2774, allocations: 0.4899 MB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.2788, allocations: 0.5456 MB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.2805, allocations: 1.398 MB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.2809, allocations: 149.1 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008438/0.2817, allocations: 438.5 kB / 1.097 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008053/0.2825, allocations: 462.2 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.2827, allocations: 63.94 kB / 1.097 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.283, allocations: 56 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004493/0.2834, allocations: 371 kB / 1.098 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006824/0.2841, allocations: 469.5 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2852, allocations: 0.9342 MB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2852, allocations: 0 / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2852, allocations: 0 / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.056e-05/0.2853, allocations: 0 / 1.099 GB, free: 6.109 MB / 0.8575 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.002641/0.2879, allocations: 1.265 MB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.288, allocations: 12.03 kB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.214e-05/0.288, allocations: 66.72 kB / 1.1 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.2883, allocations: 103.7 kB / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.2894, allocations: 0.6754 MB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.2895, allocations: 37.03 kB / 1.101 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/0.2895, allocations: 64.12 kB / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.2902, allocations: 414.9 kB / 1.102 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2902, allocations: 0 / 1.102 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2902, allocations: 16 kB / 1.102 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2902, allocations: 8 kB / 1.102 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.2907, allocations: 234.4 kB / 1.102 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.294, allocations: 2.486 MB / 1.104 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.2956, allocations: 0.5559 MB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.2959, allocations: 164.8 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2959, allocations: 4 kB / 1.105 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2959, allocations: 38.56 kB / 1.105 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.296, allocations: 0 / 1.105 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001739/0.2977, allocations: 0.8822 MB / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.2978, allocations: 63.34 kB / 1.106 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.2989, allocations: 0.9232 MB / 1.107 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.299, allocations: 45.64 kB / 1.107 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.2992, allocations: 364.8 kB / 1.107 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.2993, allocations: 122.3 kB / 1.107 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.2995, allocations: 166.6 kB / 1.107 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2997, allocations: 394.8 kB / 1.108 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.3001, allocations: 249.8 kB / 1.108 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.3007, allocations: 0.6388 MB / 1.109 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.3017, allocations: 0.8836 MB / 1.11 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.3017, allocations: 8 kB / 1.11 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001613/0.3034, allocations: 1.014 MB / 1.111 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3034, allocations: 13.72 kB / 1.111 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.3034, allocations: 23.94 kB / 1.111 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.3038, allocations: 122.5 kB / 1.111 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.3045, allocations: 195.7 kB / 1.111 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.3077, allocations: 4.469 MB / 1.115 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009421/0.3087, allocations: 111 kB / 1.115 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.3088, allocations: 44 kB / 1.115 GB, free: 3.996 MB / 0.8731 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.0003268/0.3091, allocations: 273.3 kB / 1.116 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.3092, allocations: 82.88 kB / 1.116 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.3094, allocations: 84.58 kB / 1.116 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3094, allocations: 4 kB / 1.116 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3094, allocations: 4 kB / 1.116 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3094, allocations: 0 / 1.116 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.3101, allocations: 0.657 MB / 1.116 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3101, allocations: 0 / 1.116 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.3105, allocations: 55.95 kB / 1.117 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.3108, allocations: 106.4 kB / 1.117 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.3108, allocations: 11.98 kB / 1.117 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.3139, allocations: 4.449 MB / 1.121 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3139, allocations: 0 / 1.121 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.3151, allocations: 0.735 MB / 1.122 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.3154, allocations: 215.8 kB / 1.122 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.3155, allocations: 11.98 kB / 1.122 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.316, allocations: 19.98 kB / 1.122 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.3161, allocations: 23.95 kB / 1.122 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3161, allocations: 12 kB / 1.122 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008135/0.3169, allocations: 0.62 MB / 1.123 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3169, allocations: 3.938 kB / 1.123 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009073/0.3178, allocations: 267.8 kB / 1.123 GB, free: 11.85 MB / 0.8887 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.001357/0.3192, allocations: 1.297 MB / 1.124 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.3206, allocations: 0.9244 MB / 1.125 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3206, allocations: 0 / 1.125 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.3212, allocations: 0.5194 MB / 1.126 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.3222, allocations: 179.1 kB / 1.126 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.3325, allocations: 7.808 MB / 1.133 GB, free: 492 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.3331, allocations: 0.9839 MB / 1.134 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004326/0.3335, allocations: 153.8 kB / 1.134 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.3339, allocations: 275.3 kB / 1.135 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/0.3339, allocations: 0 / 1.135 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06284/0.3968, allocations: 17.27 MB / 1.152 GB, free: 14.02 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.44, allocations: 12 kB / 1.152 GB, free: 14 MB / 0.92 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches