Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.0009929/0.0009929, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007809/0.007809, allocations: 170.8 kB / 16.27 MB, free: 6.66 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 13.62 kB / 0.9029 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2391, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004001/0.2432, allocations: 4.08 MB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.2463, allocations: 2.94 MB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.2466, allocations: 11.94 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.2481, allocations: 0.868 MB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.2487, allocations: 322 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.249, allocations: 175.8 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009286/0.2499, allocations: 1.145 MB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.2503, allocations: 333.9 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003016/0.2507, allocations: 298.3 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.2511, allocations: 405.8 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.2512, allocations: 20 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.2513, allocations: 39.98 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2514, allocations: 135.2 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.2517, allocations: 395.3 kB / 1.07 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.2524, allocations: 0.8908 MB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2524, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2524, allocations: 0 / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2524, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001343/0.2538, allocations: 1.062 MB / 1.072 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2538, allocations: 19.91 kB / 1.072 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.941e-05/0.2539, allocations: 78.7 kB / 1.072 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009306/0.2548, allocations: 235.5 kB / 1.072 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.2556, allocations: 0.6597 MB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.2556, allocations: 41.38 kB / 1.073 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.2557, allocations: 43.94 kB / 1.073 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.2566, allocations: 486 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2566, allocations: 4 kB / 1.073 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.2566, allocations: 16 kB / 1.073 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2567, allocations: 12 kB / 1.073 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.2576, allocations: 399.8 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.2598, allocations: 1.486 MB / 1.075 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.2604, allocations: 279.2 kB / 1.075 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.2607, allocations: 149.9 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.2607, allocations: 12.23 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2607, allocations: 30.8 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.2607, allocations: 4 kB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.001928/0.2627, allocations: 0.7037 MB / 1.076 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.2627, allocations: 81.11 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.2638, allocations: 0.931 MB / 1.077 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.2639, allocations: 25.7 kB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.2642, allocations: 432.1 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.2642, allocations: 94.72 kB / 1.078 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.2643, allocations: 29.7 kB / 1.078 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.2644, allocations: 318 kB / 1.078 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.2648, allocations: 136.4 kB / 1.078 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.2652, allocations: 171.9 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.2658, allocations: 271 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2658, allocations: 0 / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001217/0.267, allocations: 0.5052 MB / 1.079 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.2671, allocations: 105 kB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2671, allocations: 4 kB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/0.2675, allocations: 84.8 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.2678, allocations: 83.81 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.2695, allocations: 1.673 MB / 1.081 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.2701, allocations: 99.53 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.2702, allocations: 4 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-06/0.2702, allocations: 4 kB / 1.081 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/0.2713, allocations: 408.7 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.2713, allocations: 0 / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.2716, allocations: 80.8 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.2719, allocations: 75.89 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.2734, allocations: 1.656 MB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.2739, allocations: 79.58 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.2739, allocations: 4 kB / 1.083 GB, free: 11.17 MB / 0.8419 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.2742, allocations: 337 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.2743, allocations: 90.81 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.2745, allocations: 105 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2745, allocations: 8 kB / 1.084 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.2745, allocations: 0 / 1.084 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2745, allocations: 0 / 1.084 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.276, allocations: 1.057 MB / 1.085 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.276, allocations: 0 / 1.085 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.2762, allocations: 51.91 kB / 1.085 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.2766, allocations: 92.84 kB / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.2766, allocations: 4 kB / 1.085 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.278, allocations: 1.64 MB / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.278, allocations: 4.031 kB / 1.086 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/0.2789, allocations: 0.5417 MB / 1.087 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.2791, allocations: 187.9 kB / 1.087 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.2792, allocations: 8 kB / 1.087 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.2796, allocations: 35.97 kB / 1.087 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.2796, allocations: 23.97 kB / 1.087 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2797, allocations: 4 kB / 1.087 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008449/0.2805, allocations: 0.6689 MB / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2805, allocations: 0 / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006156/0.2811, allocations: 267.4 kB / 1.088 GB, free: 5.781 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.2822, allocations: 1.095 MB / 1.089 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.2837, allocations: 0.7351 MB / 1.09 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2837, allocations: 3.938 kB / 1.09 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.284, allocations: 270.7 kB / 1.09 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.285, allocations: 151.3 kB / 1.09 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009162/0.2941, allocations: 6.999 MB / 1.097 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.2947, allocations: 1.039 MB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000414/0.2951, allocations: 113.3 kB / 1.098 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.2954, allocations: 307.3 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.2954, allocations: 0 / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.805/3.1, allocations: 16.44 MB / 1.115 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/3.101, allocations: 252.9 kB / 1.115 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/5.088, allocations: 0 / 1.115 GB, free: 10.37 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches