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.001255/0.001255, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001409/0.001409, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.797 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.964/2.964, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.001994/0.001994, allocations: 65.14 kB / 1.153 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 176.1 MB / 1.325 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003218/0.3122, allocations: 1.84 MB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.3167, allocations: 3.413 MB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3168, allocations: 3.938 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.3175, allocations: 160.7 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.3177, allocations: 75.53 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3179, allocations: 59.84 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.3183, allocations: 271.1 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.3184, allocations: 21.72 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.3186, allocations: 83.69 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.3187, allocations: 71.69 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3187, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.3188, allocations: 31.92 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.3189, allocations: 59.75 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.319, allocations: 67.59 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3192, allocations: 199 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3193, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3193, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3193, allocations: 4 kB / 1.331 GB, free: 11.88 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.0008483/0.3201, allocations: 472.8 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3201, allocations: 8.031 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.3202, allocations: 42.69 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.3206, allocations: 60.7 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.321, allocations: 197.6 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.321, allocations: 384 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.321, allocations: 12.31 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.3214, allocations: 138.9 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3214, allocations: 3.938 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3214, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.3214, allocations: 15.98 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.3218, allocations: 131.9 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.3225, allocations: 395.7 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.3229, allocations: 158.4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.3232, allocations: 96.77 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3232, allocations: 7.984 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3232, allocations: 38.5 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.3232, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008084/0.324, allocations: 288.2 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3241, allocations: 55.41 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.3243, allocations: 245.9 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3243, allocations: 33.64 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.3244, allocations: 132.1 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.3245, allocations: 47.64 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.3245, allocations: 29.7 kB / 1.334 GB, free: 9.152 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3247, allocations: 338.8 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.3249, allocations: 67.92 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.3251, allocations: 71.94 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.3256, allocations: 152.8 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3256, allocations: 0 / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005196/0.3261, allocations: 217.3 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3261, allocations: 8 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3261, allocations: 4 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3261, allocations: 0 / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.3264, allocations: 35.91 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3264, allocations: 0 / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3265, allocations: 27.86 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.3265, allocations: 11.88 kB / 1.335 GB, free: 8.223 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.0001253/0.3267, allocations: 134.4 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.3267, allocations: 31.86 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.3268, allocations: 29.77 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3268, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3268, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3268, allocations: 3.984 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.327, allocations: 224.6 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3271, allocations: 0 / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3273, allocations: 35.91 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.3273, allocations: 7.984 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3273, allocations: 4 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3273, allocations: 0 / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3273, allocations: 0 / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.3278, allocations: 311.2 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.3279, allocations: 39.77 kB / 1.335 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.328, allocations: 4 kB / 1.335 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.3281, allocations: 15.98 kB / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.3282, allocations: 11.92 kB / 1.335 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3282, allocations: 11.98 kB / 1.335 GB, free: 7.305 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000159/0.3284, allocations: 181.1 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3284, allocations: 3.938 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002668/0.3286, allocations: 36 kB / 1.336 GB, free: 7.086 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.0008973/0.3295, allocations: 0.845 MB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.33, allocations: 163.8 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.33, allocations: 0 / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.3303, allocations: 95.86 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3307, allocations: 48.47 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.3339, allocations: 2.36 MB / 1.339 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.3341, allocations: 132 kB / 1.339 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.3342, allocations: 61.34 kB / 1.339 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3343, allocations: 59.41 kB / 1.339 GB, free: 3.203 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3343, allocations: 3.938 kB / 1.339 GB, free: 3.199 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.368, allocations: 5.382 MB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.71, allocations: 4.797 kB / 1.345 GB, free: 14.02 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.86318414332345]