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.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.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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 61.56 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.247, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002962/0.25, allocations: 1.863 MB / 1.065 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.2513, allocations: 0.7207 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.689e-05/0.2514, allocations: 0 / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.366e-05/0.2515, allocations: 15.86 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.2517, allocations: 47.64 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.2519, allocations: 67.84 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.2522, allocations: 135.3 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2523, allocations: 37.38 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.548e-05/0.2524, allocations: 47.84 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2525, allocations: 55.77 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.2526, allocations: 8 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.2526, allocations: 12 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.2527, allocations: 23.92 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.2527, allocations: 47.73 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.2529, allocations: 107.9 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2529, allocations: 7.984 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2529, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.2529, allocations: 0 / 1.067 GB, free: 11.32 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005734/0.2535, allocations: 415 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2535, allocations: 8.031 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2536, allocations: 38.75 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.2536, allocations: 12.75 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.2538, allocations: 204.1 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2538, allocations: 4.375 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.2538, allocations: 12.38 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.2541, allocations: 89.78 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2541, allocations: 3.984 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.2541, allocations: 8 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2541, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.2544, allocations: 63.89 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.2549, allocations: 376.5 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.2551, allocations: 54.48 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/0.2552, allocations: 28.89 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2552, allocations: 4 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2553, allocations: 34.5 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2553, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003667/0.2556, allocations: 97.48 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2557, allocations: 51.41 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2558, allocations: 156.9 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2558, allocations: 29.7 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.2559, allocations: 108 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.2559, allocations: 11.81 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.256, allocations: 21.7 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.2561, allocations: 314.8 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2562, allocations: 28.83 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.2563, allocations: 19.98 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2565, allocations: 56.75 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2565, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002238/0.2567, allocations: 81.89 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2567, allocations: 7.938 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2567, allocations: 3.984 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.2567, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.2568, allocations: 19.98 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.2568, allocations: 0 / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.2569, allocations: 7.984 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2569, allocations: 0 / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001269/0.2571, allocations: 104.1 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.794e-05/0.2571, allocations: 19.98 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001594/0.2573, allocations: 56.75 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.2573, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002072/0.2575, allocations: 81.56 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.2575, allocations: 5.094 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.2576, allocations: 3.938 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-06/0.2576, allocations: 0 / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.947e-05/0.2576, allocations: 15.92 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.2576, allocations: 4 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.2577, allocations: 11.92 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-06/0.2577, allocations: 7.938 kB / 1.069 GB, free: 8.438 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 7.391e-05/0.2578, allocations: 178.5 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.2578, allocations: 11.84 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.2581, allocations: 93.73 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2581, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2581, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2581, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.2583, allocations: 185.6 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2583, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.2584, allocations: 12 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.2584, allocations: 3.938 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2584, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2584, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2584, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.2587, allocations: 187.3 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.2587, allocations: 84.95 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.2588, allocations: 4 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.773e-05/0.2589, allocations: 7.984 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.2589, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2589, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.259, allocations: 121.9 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.259, allocations: 0 / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003171/0.2593, allocations: 43.94 kB / 1.07 GB, free: 7.422 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.0005041/0.2598, allocations: 0.718 MB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.2602, allocations: 75.92 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2602, allocations: 0 / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.2603, allocations: 27.91 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2606, allocations: 27.88 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.2622, allocations: 1.535 MB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2624, allocations: 0.6924 MB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.2625, allocations: 8.422 kB / 1.073 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.2625, allocations: 31.42 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2625, allocations: 0 / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.2796, allocations: 2.632 MB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.071/7.35, allocations: 19.3 kB / 1.076 GB, free: 1.664 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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