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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004883/0.004883, allocations: 99.69 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 196.8 kB / 16.68 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.91 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002885/0.2908, allocations: 2.064 MB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.2928, allocations: 1.36 MB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.2929, allocations: 4 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.2935, allocations: 255.1 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.2944, allocations: 434.5 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.312e-06/0.2944, allocations: 0 / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.2947, allocations: 386.5 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.2948, allocations: 28.39 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.2949, allocations: 147.3 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.2952, allocations: 195.2 kB / 1.247 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.2952, allocations: 27.94 kB / 1.247 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.2957, allocations: 267.6 kB / 1.247 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.296, allocations: 379 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.2963, allocations: 413.7 kB / 1.248 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.2974, allocations: 1.163 MB / 1.249 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2974, allocations: 0 / 1.249 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2974, allocations: 4 kB / 1.249 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2974, allocations: 0 / 1.249 GB, free: 2.707 MB / 0.9981 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.001466/0.2989, allocations: 1.255 MB / 1.25 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2989, allocations: 12.03 kB / 1.25 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.299, allocations: 46.73 kB / 1.25 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005621/0.2996, allocations: 152.2 kB / 1.25 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.508/0.8076, allocations: 4.267 MB / 1.254 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.8076, allocations: 16.38 kB / 1.254 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.8076, allocations: 13.72 kB / 1.254 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007774/0.8084, allocations: 0.6346 MB / 1.255 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8085, allocations: 0.5625 kB / 1.255 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.8085, allocations: 4.938 kB / 1.255 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.8085, allocations: 3.875 kB / 1.255 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.8098, allocations: 1.112 MB / 1.256 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.813, allocations: 3.149 MB / 1.259 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.8137, allocations: 344 kB / 1.26 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.814, allocations: 231.5 kB / 1.26 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.814, allocations: 26.45 kB / 1.26 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.814, allocations: 43.19 kB / 1.26 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.814, allocations: 0 / 1.26 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001024/0.8151, allocations: 0.7175 MB / 1.26 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.8151, allocations: 59.03 kB / 1.261 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005708/0.8208, allocations: 6.492 MB / 1.267 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.8209, allocations: 34.39 kB / 1.267 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.8211, allocations: 421.2 kB / 1.267 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.8212, allocations: 67.67 kB / 1.267 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.8213, allocations: 56.27 kB / 1.267 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.8213, allocations: 316.1 kB / 1.268 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/0.8219, allocations: 0.5277 MB / 1.268 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.8225, allocations: 0.5559 MB / 1.269 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.8234, allocations: 0.7711 MB / 1.27 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8234, allocations: 1.25 kB / 1.27 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001367/0.8248, allocations: 1.229 MB / 1.271 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.8248, allocations: 8.438 kB / 1.271 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.8248, allocations: 0 / 1.271 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8248, allocations: 3.219 kB / 1.271 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.8252, allocations: 67.66 kB / 1.271 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.8252, allocations: 2.125 kB / 1.271 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.8255, allocations: 46.25 kB / 1.271 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.8256, allocations: 13.19 kB / 1.271 GB, free: 8.148 MB / 0.9981 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.0002491/0.8258, allocations: 284.2 kB / 1.271 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.826, allocations: 92.11 kB / 1.271 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008137/0.8268, allocations: 0.5581 MB / 1.272 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8268, allocations: 10.72 kB / 1.272 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.8268, allocations: 2.406 kB / 1.272 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.8268, allocations: 1.406 kB / 1.272 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.8296, allocations: 2.817 MB / 1.275 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.8296, allocations: 5.672 kB / 1.275 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.8299, allocations: 49.66 kB / 1.275 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.8299, allocations: 6.672 kB / 1.275 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.8299, allocations: 11.81 kB / 1.275 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.8299, allocations: 13.14 kB / 1.275 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.8299, allocations: 6.375 kB / 1.275 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007731/0.8307, allocations: 0.679 MB / 1.275 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.8309, allocations: 255.7 kB / 1.276 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.831, allocations: 12.11 kB / 1.276 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.8314, allocations: 35.08 kB / 1.276 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.8314, allocations: 23.12 kB / 1.276 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.8315, allocations: 11.67 kB / 1.276 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004086/0.8355, allocations: 5.159 MB / 1.281 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8355, allocations: 0 / 1.281 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000575/0.8361, allocations: 197.6 kB / 1.281 GB, free: 4.102 MB / 0.9981 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.001139/0.8373, allocations: 1.293 MB / 1.282 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009574/0.8382, allocations: 0.7814 MB / 1.283 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8383, allocations: 1.312 kB / 1.283 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.8386, allocations: 225.8 kB / 1.283 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.8394, allocations: 201.2 kB / 1.283 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/0.8617, allocations: 22.95 MB / 1.306 GB, free: 10.47 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.8624, allocations: 1.002 MB / 1.307 GB, free: 9.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00044/0.8629, allocations: 146.3 kB / 1.307 GB, free: 9.695 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/0.8634, allocations: 292.8 kB / 1.307 GB, free: 9.488 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.8634, allocations: 0 / 1.307 GB, free: 9.488 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.69/2.554, allocations: 23.6 MB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/17.88, allocations: 11.89 kB / 1.33 GB, free: 14.99 MB / 1.029 GB (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 --timeout=400 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches