Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.005621/0.005621, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001338/0.001338, allocations: 191.3 kB / 16.67 MB, free: 5.961 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.614/2.614, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 63.91 kB / 1.054 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8807, allocations: 157.4 MB / 1.207 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2053/1.086, allocations: 190.6 MB / 1.393 GB, free: 14.16 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00989/1.096, allocations: 5.741 MB / 1.399 GB, free: 8.41 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/1.098, allocations: 43.75 kB / 1.399 GB, free: 8.367 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/1.099, allocations: 0.5785 MB / 1.4 GB, free: 7.785 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/1.104, allocations: 1.621 MB / 1.401 GB, free: 6.156 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003176/1.107, allocations: 1.208 MB / 1.402 GB, free: 4.953 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00341/1.11, allocations: 2.577 MB / 1.405 GB, free: 2.367 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/1.112, allocations: 0.8745 MB / 1.406 GB, free: 1.484 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/1.114, allocations: 1.066 MB / 1.407 GB, free: 424 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/1.116, allocations: 0.8097 MB / 1.408 GB, free: 15.61 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/1.116, allocations: 100 kB / 1.408 GB, free: 15.51 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/1.119, allocations: 1.543 MB / 1.409 GB, free: 13.96 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005498/1.12, allocations: 398.9 kB / 1.41 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/1.121, allocations: 0.5833 MB / 1.41 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00339/1.124, allocations: 2.014 MB / 1.412 GB, free: 10.97 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.124, allocations: 3.938 kB / 1.412 GB, free: 10.96 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.202e-06/1.124, allocations: 0 / 1.412 GB, free: 10.96 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.884e-05/1.124, allocations: 0 / 1.412 GB, free: 10.96 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003193/1.127, allocations: 1.437 MB / 1.414 GB, free: 9.473 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.127, allocations: 8.031 kB / 1.414 GB, free: 9.465 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/1.128, allocations: 130.5 kB / 1.414 GB, free: 9.328 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/1.131, allocations: 410.3 kB / 1.414 GB, free: 8.926 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/1.132, allocations: 0.8077 MB / 1.415 GB, free: 8.078 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/1.133, allocations: 58 kB / 1.415 GB, free: 8.02 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.133, allocations: 72 kB / 1.415 GB, free: 7.949 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/1.135, allocations: 0.9827 MB / 1.416 GB, free: 6.949 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.135, allocations: 3.938 kB / 1.416 GB, free: 6.945 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/1.135, allocations: 35.94 kB / 1.416 GB, free: 6.91 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/1.135, allocations: 29.98 kB / 1.416 GB, free: 6.879 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/1.137, allocations: 0.8744 MB / 1.417 GB, free: 6.008 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006637/1.143, allocations: 3.482 MB / 1.42 GB, free: 2.344 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/1.145, allocations: 0.6047 MB / 1.421 GB, free: 1.73 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007343/1.146, allocations: 329.3 kB / 1.421 GB, free: 1.406 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/1.146, allocations: 93.42 kB / 1.421 GB, free: 1.297 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.146, allocations: 51.2 kB / 1.421 GB, free: 1.238 MB / 1.139 GB Notification: Performance of pre-optimization done (n=39): time 2.835e-06/1.146, allocations: 0 / 1.421 GB, free: 1.238 MB / 1.139 GB Notification: Performance of matching and sorting (n=41): time 0.008353/1.154, allocations: 2.392 MB / 1.424 GB, free: 14.77 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.155, allocations: 59.41 kB / 1.424 GB, free: 14.7 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/1.156, allocations: 0.7941 MB / 1.424 GB, free: 13.89 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/1.157, allocations: 37.64 kB / 1.425 GB, free: 13.85 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/1.157, allocations: 447.7 kB / 1.425 GB, free: 13.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/1.157, allocations: 153.8 kB / 1.425 GB, free: 13.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/1.158, allocations: 102.2 kB / 1.425 GB, free: 13.15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.158, allocations: 326 kB / 1.425 GB, free: 12.82 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000843/1.159, allocations: 304.9 kB / 1.426 GB, free: 12.53 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/1.16, allocations: 408.1 kB / 1.426 GB, free: 12.09 MB / 1.154 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005944/1.166, allocations: 1.879 MB / 1.428 GB, free: 10.16 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.166, allocations: 0 / 1.428 GB, free: 10.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003654/1.17, allocations: 1.034 MB / 1.429 GB, free: 9.113 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.17, allocations: 12.09 kB / 1.429 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.17, allocations: 0 / 1.429 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006777/1.17, allocations: 188.7 kB / 1.429 GB, free: 8.914 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/1.171, allocations: 143.8 kB / 1.429 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004173/1.175, allocations: 2.232 MB / 1.432 GB, free: 6.402 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/1.176, allocations: 47.95 kB / 1.432 GB, free: 6.355 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/1.176, allocations: 24 kB / 1.432 GB, free: 6.332 MB / 1.154 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005086/1.177, allocations: 266.6 kB / 1.432 GB, free: 6.062 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/1.177, allocations: 94.89 kB / 1.432 GB, free: 5.969 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/1.177, allocations: 92.25 kB / 1.432 GB, free: 5.871 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.177, allocations: 7.984 kB / 1.432 GB, free: 5.863 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.177, allocations: 4 kB / 1.432 GB, free: 5.859 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00278/1.18, allocations: 0.895 MB / 1.433 GB, free: 4.93 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/1.186, allocations: 2.106 MB / 1.435 GB, free: 2.723 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.186, allocations: 3.938 kB / 1.435 GB, free: 2.719 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006565/1.186, allocations: 132.2 kB / 1.435 GB, free: 2.59 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/1.187, allocations: 180.6 kB / 1.435 GB, free: 2.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/1.187, allocations: 16 kB / 1.435 GB, free: 2.395 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/1.191, allocations: 2.191 MB / 1.437 GB, free: 68 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.191, allocations: 7.938 kB / 1.437 GB, free: 60 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/1.195, allocations: 1.417 MB / 1.439 GB, free: 14.58 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006511/1.195, allocations: 240 kB / 1.439 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/1.196, allocations: 12 kB / 1.439 GB, free: 14.31 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009016/1.197, allocations: 59.22 kB / 1.439 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.197, allocations: 43.83 kB / 1.439 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.386e-05/1.197, allocations: 27.98 kB / 1.439 GB, free: 14.19 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008885/1.198, allocations: 0.5537 MB / 1.44 GB, free: 13.64 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/1.198, allocations: 0 / 1.44 GB, free: 13.64 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00116/1.199, allocations: 272 kB / 1.44 GB, free: 13.38 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004636/1.204, allocations: 2.06 MB / 1.442 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.206, allocations: 0.8061 MB / 1.443 GB, free: 10.43 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.206, allocations: 0 / 1.443 GB, free: 10.43 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009672/1.207, allocations: 467.5 kB / 1.443 GB, free: 9.965 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.209, allocations: 0.5379 MB / 1.444 GB, free: 9.434 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.226, allocations: 7.664 MB / 1.451 GB, free: 1.492 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/1.226, allocations: 1.044 MB / 1.452 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000857/1.227, allocations: 203.2 kB / 1.452 GB, free: 220 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/1.228, allocations: 315.4 kB / 1.453 GB, free: 15.9 MB / 1.186 GB Notification: Performance of SimCode: time 6.41e-07/1.228, allocations: 0 / 1.453 GB, free: 15.9 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/1.291, allocations: 28.3 MB / 1.48 GB, free: 4.078 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.36, allocations: 11.25 kB / 1.48 GB, free: 4.074 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches