Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001099/0.001099, 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.001109/0.001109, allocations: 192.9 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.33 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2434, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003219/0.2467, allocations: 2.146 MB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.2507, allocations: 3.793 MB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.2508, allocations: 0 / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.2511, allocations: 67.48 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.2514, allocations: 115.2 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2517, allocations: 151.6 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00032/0.252, allocations: 314.9 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2522, allocations: 60.7 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.2524, allocations: 139.5 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.2526, allocations: 143.4 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.2526, allocations: 20 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.2529, allocations: 135.8 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.253, allocations: 59.73 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2531, allocations: 119.3 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.2535, allocations: 326.9 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2535, allocations: 4 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2535, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2535, allocations: 0 / 1.071 GB, free: 6.859 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001264/0.2548, allocations: 0.6364 MB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2548, allocations: 8.031 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.2548, allocations: 46.73 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.2559, allocations: 168.3 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.2566, allocations: 332.2 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2566, allocations: 16.25 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.2567, allocations: 12 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.2574, allocations: 223 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2574, allocations: 3.984 kB / 1.072 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.2574, allocations: 4 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2574, allocations: 7.938 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.2585, allocations: 275.7 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2598, allocations: 0.5784 MB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.2604, allocations: 166.5 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.2609, allocations: 160.7 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008561/0.2618, allocations: 0.5454 MB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2618, allocations: 38.5 kB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.2618, allocations: 4 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001754/0.2636, allocations: 493.1 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2636, allocations: 55.41 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.2639, allocations: 264.5 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.2639, allocations: 33.7 kB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.264, allocations: 144 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.2641, allocations: 47.3 kB / 1.075 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/0.2642, allocations: 37.69 kB / 1.075 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2643, allocations: 338.8 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.2649, allocations: 143.9 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.2654, allocations: 147.9 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.2665, allocations: 290.2 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2665, allocations: 0 / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00122/0.2677, allocations: 371.2 kB / 1.076 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2677, allocations: 8 kB / 1.076 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2678, allocations: 0 / 1.076 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2678, allocations: 0 / 1.076 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.2683, allocations: 71.91 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2683, allocations: 0 / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.2686, allocations: 43.8 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2687, allocations: 7.984 kB / 1.077 GB, free: 0.8828 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 (17): * Single equations (assignments): 17 * 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.0001261/0.2688, allocations: 138.2 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.2689, allocations: 23.72 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.2701, allocations: 381.9 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2702, allocations: 0 / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2702, allocations: 4 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2702, allocations: 7.938 kB / 1.077 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.2705, allocations: 301.4 kB / 1.077 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2705, allocations: 0 / 1.077 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.271, allocations: 63.86 kB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.271, allocations: 3.938 kB / 1.077 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.271, allocations: 11.92 kB / 1.077 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.271, allocations: 4 kB / 1.077 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.271, allocations: 0 / 1.077 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.2722, allocations: 450.9 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.2723, allocations: 116.7 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.2724, allocations: 4 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.2728, allocations: 43.94 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.2729, allocations: 15.92 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2729, allocations: 7.984 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001634/0.2731, allocations: 191 kB / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2731, allocations: 0 / 1.078 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003374/0.2734, allocations: 67.94 kB / 1.078 GB, free: 14.98 MB / 0.8419 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.00156/0.275, allocations: 1.017 MB / 1.079 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.2762, allocations: 331.3 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2762, allocations: 0 / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.2768, allocations: 163.8 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.2772, allocations: 32.58 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.2823, allocations: 2.89 MB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.2826, allocations: 0.7435 MB / 1.083 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.2829, allocations: 49.39 kB / 1.083 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.283, allocations: 83.39 kB / 1.083 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.283, allocations: 3.938 kB / 1.083 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.3048, allocations: 5.748 MB / 1.089 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.226/7.531, allocations: 9.938 kB / 1.089 GB, free: 3.961 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches