Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.0009145/0.0009145, 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.005667/0.005667, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 12.94 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2533, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.001814/0.2552, allocations: 1.572 MB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2562, allocations: 0.7051 MB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.2563, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.2563, allocations: 15.92 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.2565, allocations: 39.7 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.2567, allocations: 63.8 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.2569, allocations: 123.4 kB / 1.061 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.257, allocations: 37.38 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.203e-05/0.2571, allocations: 35.86 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.2572, allocations: 51.77 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.2572, allocations: 4 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.2573, allocations: 8 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.2573, allocations: 19.92 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.2574, allocations: 69.44 kB / 1.061 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2575, allocations: 111.9 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2575, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2575, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2575, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004654/0.258, allocations: 403.1 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2581, allocations: 15.97 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.2581, allocations: 34.75 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.2581, allocations: 16.75 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.2583, allocations: 194.6 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.2583, allocations: 8.375 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2583, allocations: 12.38 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2586, allocations: 111.4 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2586, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2586, allocations: 4 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2586, allocations: 4 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.2588, allocations: 75.86 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.2593, allocations: 368.4 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.2595, allocations: 62.55 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.2596, allocations: 28.91 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.2596, allocations: 3.938 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.2597, allocations: 42.44 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2597, allocations: 0 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003549/0.26, allocations: 105.7 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.2601, allocations: 59.39 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2602, allocations: 155.9 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.2602, allocations: 25.7 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.2603, allocations: 107.9 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.2603, allocations: 8.078 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.2603, allocations: 17.7 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.2604, allocations: 314.8 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.2605, allocations: 31.97 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.2606, allocations: 31.86 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.2608, allocations: 60.81 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2608, allocations: 4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002203/0.261, allocations: 89.56 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.2611, allocations: 96.94 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.2611, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.2611, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.2612, allocations: 15.98 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2612, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.2613, allocations: 15.98 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.2613, allocations: 4.266 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-06/0.2613, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001803/0.2615, allocations: 63.94 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.2615, allocations: 0 / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.2615, allocations: 4 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.2616, allocations: 11.94 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-06/0.2616, allocations: 0 / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.2616, allocations: 23.83 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-06/0.2617, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 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 (4): * Single equations (assignments): 4 * 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 8.264e-05/0.2617, allocations: 189.1 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2618, allocations: 7.906 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.262, allocations: 105.8 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.262, allocations: 0 / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.262, allocations: 4 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.262, allocations: 0 / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2622, allocations: 193.5 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2622, allocations: 0 / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-05/0.2623, allocations: 15.98 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2623, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2623, allocations: 7.938 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2623, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2623, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.2626, allocations: 187.4 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.2626, allocations: 89 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2627, allocations: 3.938 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-05/0.2628, allocations: 11.98 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.2628, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2628, allocations: 4 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.706e-05/0.2629, allocations: 122.1 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2629, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002872/0.2632, allocations: 35.84 kB / 1.065 GB, free: 14.12 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.0005134/0.2637, allocations: 0.724 MB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.264, allocations: 91.81 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.264, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.2641, allocations: 31.97 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2645, allocations: 19.98 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.266, allocations: 1.594 MB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.2663, allocations: 0.7004 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.492e-05/0.2663, allocations: 12.41 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.2664, allocations: 23.44 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.2664, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.833/2.1, allocations: 2.363 MB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/2.1, allocations: 228.7 kB / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/4.104, allocations: 0 / 1.071 GB, free: 8.383 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches