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.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.00145/0.00145, 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.001642/0.001642, allocations: 210.7 kB / 22.24 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.32/1.32, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.906/2.906, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.0019/0.0019, allocations: 67.86 kB / 1.186 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2892, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002901/0.2921, allocations: 1.847 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.2961, allocations: 3.403 MB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.2962, allocations: 4 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.2968, allocations: 163.6 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.297, allocations: 79.41 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.2971, allocations: 51.92 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004153/0.2975, allocations: 271.1 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.2976, allocations: 21.72 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2977, allocations: 79.7 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.2978, allocations: 71.62 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.2979, allocations: 8 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.2979, allocations: 31.97 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.298, allocations: 59.75 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.2981, allocations: 63.61 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2983, allocations: 206.9 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2983, allocations: 4 kB / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2983, allocations: 0 / 1.37 GB, free: 7.742 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.2983, allocations: 0 / 1.37 GB, free: 7.742 MB / 1.061 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.0007385/0.2991, allocations: 468.8 kB / 1.37 GB, free: 7.254 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2991, allocations: 8.031 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.2991, allocations: 38.75 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/0.2999, allocations: 120.7 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.3003, allocations: 213.4 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.3003, allocations: 384 / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3004, allocations: 8.375 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.3007, allocations: 157.4 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3007, allocations: 0 / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3008, allocations: 4 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.3008, allocations: 12 kB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.3012, allocations: 147.9 kB / 1.371 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.3019, allocations: 415.6 kB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.3023, allocations: 166.5 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.3026, allocations: 108.8 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3026, allocations: 0 / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3026, allocations: 34.56 kB / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.3026, allocations: 0 / 1.371 GB, free: 5.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008142/0.3034, allocations: 309.5 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3035, allocations: 55.41 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3037, allocations: 249.9 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3037, allocations: 25.7 kB / 1.372 GB, free: 5.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.3038, allocations: 136.1 kB / 1.372 GB, free: 4.953 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.3038, allocations: 39.64 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.3039, allocations: 33.7 kB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.304, allocations: 338.8 kB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.3043, allocations: 83.92 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.3045, allocations: 78.25 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.3049, allocations: 180.7 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3049, allocations: 4 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005404/0.3055, allocations: 228.4 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3055, allocations: 8 kB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3055, allocations: 0 / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.3055, allocations: 0 / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.3058, allocations: 35.97 kB / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3058, allocations: 0 / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.306, allocations: 19.92 kB / 1.373 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.306, allocations: 11.86 kB / 1.373 GB, free: 3.895 MB / 1.061 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.0001192/0.3061, allocations: 141.8 kB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.3061, allocations: 27.81 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.3062, allocations: 25.77 kB / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3062, allocations: 4 kB / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3062, allocations: 0 / 1.373 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3062, allocations: 4 kB / 1.373 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.3065, allocations: 232.6 kB / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3065, allocations: 0 / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3067, allocations: 35.95 kB / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3067, allocations: 0 / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3067, allocations: 4 kB / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3067, allocations: 0 / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3067, allocations: 0 / 1.374 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.3073, allocations: 339.1 kB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.741e-05/0.3074, allocations: 43.72 kB / 1.374 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.3075, allocations: 4 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3077, allocations: 11.98 kB / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3077, allocations: 15.97 kB / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3077, allocations: 4 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001575/0.3079, allocations: 181.1 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3079, allocations: 4 kB / 1.374 GB, free: 2.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002508/0.3081, allocations: 36 kB / 1.374 GB, free: 2.734 MB / 1.061 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.0008457/0.309, allocations: 0.8567 MB / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.3095, allocations: 183.8 kB / 1.375 GB, free: 1.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3095, allocations: 0 / 1.375 GB, free: 1.672 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.3097, allocations: 95.42 kB / 1.375 GB, free: 1.582 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3101, allocations: 58.42 kB / 1.375 GB, free: 1.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.3132, allocations: 2.409 MB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3134, allocations: 136 kB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00021/0.3136, allocations: 61.38 kB / 1.378 GB, free: 14.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3137, allocations: 59.41 kB / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of SimCode: time 2.6e-07/0.3137, allocations: 0 / 1.378 GB, free: 14.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3451, allocations: 5.501 MB / 1.383 GB, free: 9.473 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.51, allocations: 11 kB / 1.383 GB, free: 9.465 MB / 1.076 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.49123605201021]