Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001692/0.001692, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 193 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001197, allocations: 59.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7247, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1869/0.9116, allocations: 171 MB / 1.117 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006247/0.9179, allocations: 4.277 MB / 1.121 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.9184, allocations: 23.88 kB / 1.121 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.9194, allocations: 350 kB / 1.121 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.9218, allocations: 1.003 MB / 1.122 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.9236, allocations: 0.8131 MB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.9249, allocations: 1.286 MB / 1.124 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.9254, allocations: 487 kB / 1.125 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009418/0.9264, allocations: 0.681 MB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008321/0.9272, allocations: 444.1 kB / 1.126 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.9273, allocations: 52 kB / 1.126 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.9286, allocations: 0.912 MB / 1.127 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.9288, allocations: 215.4 kB / 1.127 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.9291, allocations: 330.5 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.9304, allocations: 1.122 MB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.9304, allocations: 0 / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9304, allocations: 4 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.9304, allocations: 3.938 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001502/0.932, allocations: 0.9504 MB / 1.129 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.932, allocations: 8.031 kB / 1.129 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.9321, allocations: 90.5 kB / 1.129 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.9337, allocations: 263 kB / 1.13 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.9345, allocations: 485.4 kB / 1.13 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.9348, allocations: 84.94 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.9349, allocations: 40 kB / 1.13 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.936, allocations: 0.6146 MB / 1.131 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.9361, allocations: 11.94 kB / 1.131 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.9361, allocations: 23.94 kB / 1.131 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.9362, allocations: 20.98 kB / 1.131 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.9376, allocations: 0.5542 MB / 1.131 GB, free: 6.926 MB / 0.8887 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.003801/0.9414, allocations: 2.284 MB / 1.134 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.9424, allocations: 294.3 kB / 1.134 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/0.943, allocations: 172.7 kB / 1.134 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.943, allocations: 3.984 kB / 1.134 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.943, allocations: 38.56 kB / 1.134 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.9431, allocations: 0 / 1.134 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.00511/0.9482, allocations: 1.108 MB / 1.135 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.9482, allocations: 81.05 kB / 1.135 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.9489, allocations: 0.5496 MB / 1.136 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.9489, allocations: 29.64 kB / 1.136 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.9491, allocations: 303.5 kB / 1.136 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.9491, allocations: 39.45 kB / 1.136 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.9493, allocations: 65.59 kB / 1.136 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9494, allocations: 354.8 kB / 1.137 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.95, allocations: 191.8 kB / 1.137 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/0.9507, allocations: 278.3 kB / 1.137 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.9519, allocations: 417.1 kB / 1.137 GB, free: 480 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9519, allocations: 4 kB / 1.137 GB, free: 476 kB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002662/0.9546, allocations: 0.7413 MB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9546, allocations: 4 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9546, allocations: 4 kB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.9552, allocations: 180.8 kB / 1.138 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.9556, allocations: 83.86 kB / 1.138 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.9595, allocations: 2.232 MB / 1.141 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.9601, allocations: 75.55 kB / 1.141 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.9601, allocations: 12 kB / 1.141 GB, free: 12.99 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * 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.0002366/0.9604, allocations: 191.7 kB / 1.141 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.9605, allocations: 59.36 kB / 1.141 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.9606, allocations: 48.05 kB / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9606, allocations: 0 / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.9606, allocations: 3.984 kB / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.9606, allocations: 0 / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.9638, allocations: 1.148 MB / 1.142 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.9639, allocations: 4 kB / 1.142 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.9641, allocations: 39.95 kB / 1.142 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.9647, allocations: 180.8 kB / 1.142 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.9647, allocations: 11.98 kB / 1.142 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.9683, allocations: 2.183 MB / 1.144 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9683, allocations: 4.062 kB / 1.144 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.9708, allocations: 0.7078 MB / 1.145 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.9711, allocations: 180.4 kB / 1.145 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.9712, allocations: 4.125 kB / 1.145 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/0.9718, allocations: 59.94 kB / 1.145 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.9719, allocations: 11.92 kB / 1.145 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.9719, allocations: 15.98 kB / 1.145 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004231/0.9723, allocations: 394.8 kB / 1.146 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9723, allocations: 0 / 1.146 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006433/0.973, allocations: 179.8 kB / 1.146 GB, free: 7.32 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * 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.003175/0.9762, allocations: 1.316 MB / 1.147 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.9779, allocations: 0.5457 MB / 1.148 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9779, allocations: 0 / 1.148 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.9787, allocations: 303 kB / 1.148 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.9801, allocations: 316.1 kB / 1.148 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.9918, allocations: 5.175 MB / 1.153 GB, free: 15.49 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.9923, allocations: 0.866 MB / 1.154 GB, free: 14.59 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004735/0.9928, allocations: 100.5 kB / 1.154 GB, free: 14.49 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.993, allocations: 167.4 kB / 1.155 GB, free: 14.33 MB / 0.92 GB Notification: Performance of SimCode: time 7.32e-07/0.993, allocations: 0 / 1.155 GB, free: 14.33 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/1.134, allocations: 16.76 MB / 1.171 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.86, allocations: 10.17 kB / 1.171 GB, free: 13.92 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches