Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 497.2 MB / 0.7812 GB, free: 11.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 1.134 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003576/1.106, allocations: 2.08 MB / 1.306 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002508/1.108, allocations: 1.37 MB / 1.307 GB, free: 13.24 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/1.108, allocations: 5.094 kB / 1.307 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007383/1.109, allocations: 261.2 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/1.11, allocations: 428.6 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.636e-06/1.11, allocations: 5.406 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004578/1.111, allocations: 387.7 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/1.111, allocations: 23.95 kB / 1.308 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/1.111, allocations: 142.2 kB / 1.309 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/1.111, allocations: 216.3 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/1.111, allocations: 22.25 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/1.112, allocations: 271.5 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/1.112, allocations: 395.3 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004286/1.113, allocations: 411.3 kB / 1.31 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/1.114, allocations: 1.158 MB / 1.311 GB, free: 11.63 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.114, allocations: 0 / 1.311 GB, free: 11.63 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/1.114, allocations: 0 / 1.311 GB, free: 11.63 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.734e-05/1.114, allocations: 1.5 kB / 1.311 GB, free: 11.63 MB / 1.014 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.002025/1.116, allocations: 1.257 MB / 1.312 GB, free: 10.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.116, allocations: 9.906 kB / 1.312 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/1.116, allocations: 47.64 kB / 1.312 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006606/1.117, allocations: 150.7 kB / 1.312 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/1.121, allocations: 4.275 MB / 1.317 GB, free: 8.379 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/1.121, allocations: 14.66 kB / 1.317 GB, free: 8.371 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/1.121, allocations: 13.06 kB / 1.317 GB, free: 8.367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/1.122, allocations: 0.6438 MB / 1.317 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.122, allocations: 0 / 1.317 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/1.122, allocations: 5.344 kB / 1.317 GB, free: 8.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/1.122, allocations: 3.469 kB / 1.317 GB, free: 8.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/1.124, allocations: 1.113 MB / 1.318 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/1.128, allocations: 3.153 MB / 1.321 GB, free: 6.152 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007653/1.129, allocations: 335 kB / 1.322 GB, free: 6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/1.129, allocations: 226 kB / 1.322 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-05/1.129, allocations: 27.33 kB / 1.322 GB, free: 5.895 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/1.129, allocations: 31.62 kB / 1.322 GB, free: 5.855 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 2.514e-06/1.129, allocations: 4 kB / 1.322 GB, free: 5.852 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001502/1.131, allocations: 0.7226 MB / 1.323 GB, free: 5.543 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.131, allocations: 53.5 kB / 1.323 GB, free: 5.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008484/1.139, allocations: 6.488 MB / 1.329 GB, free: 2.719 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/1.139, allocations: 34.83 kB / 1.329 GB, free: 2.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000493/1.14, allocations: 424 kB / 1.329 GB, free: 2.312 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/1.14, allocations: 75.2 kB / 1.33 GB, free: 2.246 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/1.14, allocations: 57.81 kB / 1.33 GB, free: 2.207 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.14, allocations: 316.2 kB / 1.33 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/1.141, allocations: 0.5317 MB / 1.33 GB, free: 1.707 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/1.142, allocations: 0.549 MB / 1.331 GB, free: 1.504 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.143, allocations: 0.7717 MB / 1.332 GB, free: 1.207 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.143, allocations: 1.094 kB / 1.332 GB, free: 1.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002024/1.145, allocations: 1.229 MB / 1.333 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.145, allocations: 9.703 kB / 1.333 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.145, allocations: 0 / 1.333 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.145, allocations: 6.531 kB / 1.333 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/1.145, allocations: 68.3 kB / 1.333 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.145, allocations: 1.094 kB / 1.333 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/1.146, allocations: 43.39 kB / 1.333 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/1.146, allocations: 8.344 kB / 1.333 GB, free: 0.6836 MB / 1.014 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.0006642/1.147, allocations: 287.3 kB / 1.333 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/1.147, allocations: 98.88 kB / 1.333 GB, free: 424 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/1.148, allocations: 0.564 MB / 1.334 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.148, allocations: 2.844 kB / 1.334 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/1.148, allocations: 0 / 1.334 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/1.148, allocations: 1.5 kB / 1.334 GB, free: 156 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/1.153, allocations: 2.804 MB / 1.337 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/1.153, allocations: 8.594 kB / 1.337 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/1.153, allocations: 52.52 kB / 1.337 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/1.153, allocations: 9.438 kB / 1.337 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/1.153, allocations: 11.5 kB / 1.337 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/1.153, allocations: 8.781 kB / 1.337 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.153, allocations: 5.5 kB / 1.337 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/1.154, allocations: 0.6871 MB / 1.337 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/1.155, allocations: 266 kB / 1.338 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.155, allocations: 14.3 kB / 1.338 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/1.155, allocations: 22.45 kB / 1.338 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/1.156, allocations: 26.55 kB / 1.338 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/1.156, allocations: 17.97 kB / 1.338 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.006021/1.162, allocations: 5.162 MB / 1.343 GB, free: 11.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.162, allocations: 0 / 1.343 GB, free: 11.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0012/1.163, allocations: 187.7 kB / 1.343 GB, free: 11.5 MB / 1.029 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.001789/1.165, allocations: 1.29 MB / 1.344 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.166, allocations: 0.7651 MB / 1.345 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.166, allocations: 1.188 kB / 1.345 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/1.166, allocations: 225.3 kB / 1.345 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/1.167, allocations: 193.2 kB / 1.345 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.194, allocations: 22.95 MB / 1.368 GB, free: 2.633 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/1.195, allocations: 1.003 MB / 1.369 GB, free: 1.602 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005445/1.196, allocations: 145.4 kB / 1.369 GB, free: 1.457 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/1.196, allocations: 291.3 kB / 1.369 GB, free: 1.172 MB / 1.045 GB Notification: Performance of SimCode: time 1.032e-06/1.196, allocations: 0 / 1.369 GB, free: 1.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07442/1.27, allocations: 23.83 MB / 1.392 GB, free: 9.621 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.535/10.81, allocations: 16.73 kB / 1.393 GB, free: 9.605 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.237836501095444]