Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001908/0.001908, allocations: 108 kB / 15.6 MB, free: 132 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.003429/0.003429, allocations: 196.1 kB / 16.53 MB, free: 6.391 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.683/1.683, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.69 kB / 0.9083 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2594, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00301/0.2624, allocations: 1.923 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00375/0.2662, allocations: 3.435 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.2663, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.2666, allocations: 55.61 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004513/0.2671, allocations: 127.3 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.556e-05/0.2671, allocations: 19.97 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.2674, allocations: 175.2 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2675, allocations: 25.69 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.2677, allocations: 87.62 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.2678, allocations: 79.67 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.2679, allocations: 12 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.268, allocations: 27.92 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.268, allocations: 35.84 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.2681, allocations: 79.47 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.2683, allocations: 159.3 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2683, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2683, allocations: 4 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2684, allocations: 0 / 1.07 GB, free: 8.227 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007981/0.2692, allocations: 0.5023 MB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2692, allocations: 8.031 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.2692, allocations: 42.73 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.2693, allocations: 24.59 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.2696, allocations: 242.8 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2696, allocations: 12.31 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.2697, allocations: 384 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.27, allocations: 141.5 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2701, allocations: 0 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2701, allocations: 4 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.2701, allocations: 8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.2705, allocations: 135.9 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.2712, allocations: 444.5 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.2716, allocations: 162.5 kB / 1.071 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.2719, allocations: 100.7 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2719, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.272, allocations: 34.56 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.272, allocations: 4 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008251/0.2728, allocations: 287.3 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2728, allocations: 51.41 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.273, allocations: 213 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2731, allocations: 29.7 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.2731, allocations: 124 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.2732, allocations: 47.34 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.2732, allocations: 25.7 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2733, allocations: 334.8 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.2736, allocations: 71.94 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.2738, allocations: 75.92 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.2743, allocations: 150.5 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2743, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005324/0.2748, allocations: 213.3 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2748, allocations: 4 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2748, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.2749, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2751, allocations: 35.97 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2751, allocations: 0 / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.2753, allocations: 15.89 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2753, allocations: 11.92 kB / 1.073 GB, free: 4.5 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 (13): * Single equations (assignments): 13 * 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 0.0001215/0.2755, allocations: 129.8 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.2755, allocations: 19.81 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.2756, allocations: 25.83 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2756, allocations: 0 / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2756, allocations: 4 kB / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2756, allocations: 0 / 1.073 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.2759, allocations: 269.3 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2759, allocations: 7.938 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.2761, allocations: 31.97 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2762, allocations: 3.984 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2762, allocations: 0 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2762, allocations: 4 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2762, allocations: 3.938 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.2768, allocations: 313.6 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2769, allocations: 104.9 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.277, allocations: 11.98 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.2772, allocations: 11.98 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.2772, allocations: 15.98 kB / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2773, allocations: 0 / 1.074 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001475/0.2774, allocations: 160.4 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2774, allocations: 0 / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002896/0.2777, allocations: 47.84 kB / 1.074 GB, free: 3.258 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 (13): * Single equations (assignments): 13 * 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.0009723/0.2787, allocations: 0.8416 MB / 1.075 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005666/0.2793, allocations: 187.8 kB / 1.075 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2793, allocations: 0 / 1.075 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.2795, allocations: 86.92 kB / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.28, allocations: 28.59 kB / 1.075 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.2832, allocations: 2.242 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.2835, allocations: 0.7352 MB / 1.078 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.2837, allocations: 52.58 kB / 1.078 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.2838, allocations: 51.41 kB / 1.078 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.2838, allocations: 0 / 1.078 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.3035, allocations: 3.713 MB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.606, allocations: 16.52 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches