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.00126/0.00126, allocations: 102.3 kB / 16.45 MB, free: 6.449 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.00139/0.00139, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.396/1.396, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] 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.955/2.955, allocations: 0.49 GB / 0.7916 GB, free: 33.42 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.001975/0.001975, allocations: 68.88 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 176.1 MB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003285/0.3178, allocations: 1.899 MB / 1.323 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004505/0.3223, allocations: 3.674 MB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.3224, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.3232, allocations: 174.3 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.3233, allocations: 71.53 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.3234, allocations: 55.92 kB / 1.327 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.3239, allocations: 271.1 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.324, allocations: 25.53 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3241, allocations: 75.7 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3243, allocations: 79.56 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3243, allocations: 8 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.894e-05/0.3244, allocations: 39.89 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.3245, allocations: 51.83 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.3246, allocations: 91.41 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3248, allocations: 195 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3248, allocations: 0 / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3248, allocations: 4 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3248, allocations: 0 / 1.327 GB, free: 12.57 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.0008617/0.3257, allocations: 0.5331 MB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3257, allocations: 15.98 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.3258, allocations: 34.75 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.3262, allocations: 64.7 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.3266, allocations: 259.8 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3266, allocations: 8.359 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3266, allocations: 8.375 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.327, allocations: 141.4 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.327, allocations: 0 / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.327, allocations: 0 / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.327, allocations: 12 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.3275, allocations: 134.2 kB / 1.329 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.3282, allocations: 456.5 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.3286, allocations: 150.5 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.3288, allocations: 100.7 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3289, allocations: 0 / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3289, allocations: 46.55 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 8.71e-07/0.3289, allocations: 3.938 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008498/0.3297, allocations: 277.6 kB / 1.329 GB, free: 10.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3298, allocations: 55.41 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.33, allocations: 250.7 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.33, allocations: 25.7 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.3301, allocations: 132.1 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.3302, allocations: 43.62 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.3303, allocations: 37.7 kB / 1.33 GB, free: 9.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3304, allocations: 342.8 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3307, allocations: 67.88 kB / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.3309, allocations: 71.94 kB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.3313, allocations: 163.9 kB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3313, allocations: 0 / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005424/0.3319, allocations: 209.4 kB / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3319, allocations: 8 kB / 1.331 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3319, allocations: 0 / 1.331 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3319, allocations: 3.984 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.3321, allocations: 35.91 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3321, allocations: 0 / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.3323, allocations: 23.88 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3323, allocations: 11.92 kB / 1.331 GB, free: 8.68 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.0001396/0.3325, allocations: 137.8 kB / 1.331 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.3325, allocations: 27.84 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.3326, allocations: 29.83 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3326, allocations: 0 / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3326, allocations: 0 / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3326, allocations: 4 kB / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3329, allocations: 265.4 kB / 1.331 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3329, allocations: 4 kB / 1.331 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3331, allocations: 35.91 kB / 1.331 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3331, allocations: 4 kB / 1.331 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3331, allocations: 3.984 kB / 1.331 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3331, allocations: 0 / 1.331 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3331, allocations: 0 / 1.331 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.3337, allocations: 315.2 kB / 1.332 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3338, allocations: 108.9 kB / 1.332 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.3339, allocations: 7.938 kB / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.334, allocations: 19.97 kB / 1.332 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3341, allocations: 7.984 kB / 1.332 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3341, allocations: 11.94 kB / 1.332 GB, free: 7.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001563/0.3343, allocations: 181.9 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3343, allocations: 4 kB / 1.332 GB, free: 7.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002776/0.3345, allocations: 36 kB / 1.332 GB, free: 7.406 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.001028/0.3356, allocations: 0.8574 MB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.3361, allocations: 164.4 kB / 1.333 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3361, allocations: 0 / 1.333 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.3364, allocations: 93.12 kB / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.3368, allocations: 43.8 kB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.3401, allocations: 2.372 MB / 1.335 GB, free: 3.777 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3405, allocations: 0.7435 MB / 1.336 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.3406, allocations: 53.36 kB / 1.336 GB, free: 2.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3407, allocations: 59.41 kB / 1.336 GB, free: 2.898 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3407, allocations: 4 kB / 1.336 GB, free: 2.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.3686, allocations: 4.681 MB / 1.341 GB, free: 14.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.067, allocations: 14.05 kB / 1.341 GB, free: 14.38 MB / 1.045 GB " [Timeout remaining time 292] (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: 14.128150359960273]