Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 216.7 kB / 22.26 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.307/1.307, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.839/2.839, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.06 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002908/0.2838, allocations: 1.913 MB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004111/0.2879, allocations: 3.69 MB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.288, allocations: 3.938 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.2886, allocations: 187.5 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.2888, allocations: 71.53 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.2889, allocations: 55.86 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.2893, allocations: 271.1 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.2894, allocations: 21.73 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.2895, allocations: 79.69 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2896, allocations: 79.62 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2896, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.2897, allocations: 39.91 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.2898, allocations: 59.81 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.2899, allocations: 83.42 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.2901, allocations: 203 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2901, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2901, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2901, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 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.0007578/0.2909, allocations: 468.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2909, allocations: 16.03 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.291, allocations: 34.75 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.2913, allocations: 64.7 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.2917, allocations: 197.6 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2917, allocations: 8.312 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2917, allocations: 8.312 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.292, allocations: 141.5 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.292, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.292, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.2921, allocations: 15.89 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.2925, allocations: 139.9 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.2931, allocations: 415.6 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.2935, allocations: 154.5 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.2938, allocations: 100.8 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2938, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2938, allocations: 34.5 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 8.51e-07/0.2938, allocations: 0 / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0007516/0.2945, allocations: 287.2 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2946, allocations: 55.41 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.2948, allocations: 245.9 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.2948, allocations: 37.7 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.2949, allocations: 128.1 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.295, allocations: 51.62 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.295, allocations: 29.7 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2952, allocations: 338.8 kB / 1.335 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.2954, allocations: 67.94 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.2956, allocations: 71.94 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.296, allocations: 160.4 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.296, allocations: 0 / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000481/0.2965, allocations: 213.4 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2965, allocations: 7.984 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.227e-06/0.2965, allocations: 0 / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2965, allocations: 4 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2967, allocations: 35.97 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2968, allocations: 4 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2969, allocations: 19.88 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2969, allocations: 11.92 kB / 1.336 GB, free: 7.488 MB / 1.029 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.0001247/0.297, allocations: 137.8 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.2971, allocations: 23.86 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.2971, allocations: 25.77 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2971, allocations: 4 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2971, allocations: 0 / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2971, allocations: 4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.2974, allocations: 240.5 kB / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2974, allocations: 0 / 1.336 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.2976, allocations: 31.97 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2976, allocations: 0 / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2976, allocations: 15.92 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2976, allocations: 4 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2976, allocations: 0 / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.2982, allocations: 311.2 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.2982, allocations: 47.7 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.2983, allocations: 0 / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2984, allocations: 15.97 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2985, allocations: 15.98 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2985, allocations: 4 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001573/0.2986, allocations: 185.1 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2986, allocations: 0 / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002543/0.2989, allocations: 32 kB / 1.337 GB, free: 6.34 MB / 1.029 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.0008642/0.2998, allocations: 0.8644 MB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.3002, allocations: 161.6 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3002, allocations: 0 / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.3005, allocations: 87.88 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3008, allocations: 46.34 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.3038, allocations: 2.359 MB / 1.34 GB, free: 2.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3042, allocations: 0.7513 MB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.3043, allocations: 53.31 kB / 1.341 GB, free: 1.891 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3044, allocations: 59.41 kB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3044, allocations: 0 / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.334, allocations: 4.843 MB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.47, allocations: 2.438 kB / 1.346 GB, free: 13.16 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.327637010952458]