Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001576/0.001576, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001868/0.001868, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 3.006/3.006, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] 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.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="cs",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.002051/0.002051, allocations: 67.84 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.248, allocations: 176.1 MB / 1.321 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002999/1.251, allocations: 2.077 MB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002054/1.254, allocations: 1.415 MB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/1.254, allocations: 6.531 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006489/1.254, allocations: 249.6 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009621/1.255, allocations: 438.3 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.506e-06/1.255, allocations: 4 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/1.256, allocations: 390.2 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/1.256, allocations: 16.98 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/1.256, allocations: 149.9 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/1.256, allocations: 210.3 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/1.256, allocations: 21.56 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/1.256, allocations: 278.5 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003482/1.257, allocations: 386 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003679/1.257, allocations: 419.1 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/1.259, allocations: 1.158 MB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.259, allocations: 4 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.993e-06/1.259, allocations: 0.625 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.97e-05/1.259, allocations: 0.5156 kB / 1.328 GB, free: 20.78 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001934/1.261, allocations: 1.253 MB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.261, allocations: 12.67 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.067e-05/1.261, allocations: 4.625 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/1.261, allocations: 50.73 kB / 1.33 GB, free: 19.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/1.261, allocations: 160.5 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005343/1.267, allocations: 4.274 MB / 1.334 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/1.267, allocations: 12.36 kB / 1.334 GB, free: 17.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/1.267, allocations: 13.12 kB / 1.334 GB, free: 17.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/1.268, allocations: 0.6368 MB / 1.335 GB, free: 17.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.268, allocations: 0 / 1.335 GB, free: 17.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/1.268, allocations: 9.375 kB / 1.335 GB, free: 17.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.268, allocations: 3.812 kB / 1.335 GB, free: 17.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.269, allocations: 1.108 MB / 1.336 GB, free: 17.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/1.274, allocations: 3.154 MB / 1.339 GB, free: 16.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/1.275, allocations: 340.9 kB / 1.339 GB, free: 16.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/1.275, allocations: 225.4 kB / 1.339 GB, free: 16.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/1.275, allocations: 26.78 kB / 1.339 GB, free: 16.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/1.275, allocations: 33.42 kB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.264e-06/1.275, allocations: 0 / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001586/1.277, allocations: 0.7245 MB / 1.34 GB, free: 16.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.277, allocations: 55.52 kB / 1.34 GB, free: 15.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009215/1.286, allocations: 6.494 MB / 1.347 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.915e-05/1.286, allocations: 31.05 kB / 1.347 GB, free: 13.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/1.287, allocations: 417.8 kB / 1.347 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/1.287, allocations: 71.91 kB / 1.347 GB, free: 13.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/1.287, allocations: 57.06 kB / 1.347 GB, free: 13.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/1.287, allocations: 319.8 kB / 1.347 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/1.288, allocations: 0.5318 MB / 1.348 GB, free: 12.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007408/1.288, allocations: 0.5523 MB / 1.349 GB, free: 12.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.29, allocations: 0.778 MB / 1.349 GB, free: 12.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.29, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002302/1.292, allocations: 1.227 MB / 1.35 GB, free: 12.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.292, allocations: 7.641 kB / 1.35 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.292, allocations: 1.188 kB / 1.35 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/1.292, allocations: 6.078 kB / 1.35 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/1.292, allocations: 65.38 kB / 1.351 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.292, allocations: 1.5 kB / 1.351 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/1.293, allocations: 38.86 kB / 1.351 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/1.293, allocations: 10.86 kB / 1.351 GB, free: 12.16 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0004631/1.294, allocations: 285.4 kB / 1.351 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/1.294, allocations: 96.55 kB / 1.351 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/1.295, allocations: 0.5677 MB / 1.352 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.295, allocations: 5.891 kB / 1.352 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.295, allocations: 0 / 1.352 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.295, allocations: 2.438 kB / 1.352 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/1.299, allocations: 2.814 MB / 1.354 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.299, allocations: 8.5 kB / 1.354 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/1.299, allocations: 45.3 kB / 1.354 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/1.299, allocations: 7.375 kB / 1.354 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/1.299, allocations: 10.39 kB / 1.354 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/1.299, allocations: 12.28 kB / 1.354 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.924e-06/1.299, allocations: 4.625 kB / 1.354 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/1.301, allocations: 0.6888 MB / 1.355 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004316/1.301, allocations: 258.2 kB / 1.355 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.301, allocations: 12.47 kB / 1.355 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/1.302, allocations: 27.12 kB / 1.355 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/1.302, allocations: 32.11 kB / 1.355 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/1.302, allocations: 14.94 kB / 1.355 GB, free: 9.957 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.006106/1.308, allocations: 5.159 MB / 1.36 GB, free: 8.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.11e-07/1.308, allocations: 0 / 1.36 GB, free: 8.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001273/1.309, allocations: 189 kB / 1.361 GB, free: 8.078 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.001585/1.311, allocations: 1.286 MB / 1.362 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.312, allocations: 0.7699 MB / 1.363 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.312, allocations: 1.094 kB / 1.363 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/1.312, allocations: 221.9 kB / 1.363 GB, free: 6.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/1.314, allocations: 195.1 kB / 1.363 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/1.342, allocations: 22.94 MB / 1.385 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/1.342, allocations: 1.009 MB / 1.386 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006494/1.343, allocations: 147.5 kB / 1.387 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/1.344, allocations: 292.2 kB / 1.387 GB, free: 13.37 MB / 1.076 GB Notification: Performance of SimCode: time 1.133e-06/1.344, allocations: 0 / 1.387 GB, free: 13.37 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05919/1.403, allocations: 23.87 MB / 1.41 GB, free: 14.58 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.56, allocations: 10.27 kB / 1.41 GB, free: 14.57 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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: 18.31918135099113]