Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_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.001633/0.001633, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001907/0.001907, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5882, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1702/0.7584, allocations: 168.7 MB / 1.182 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006293/0.7648, allocations: 4.274 MB / 1.186 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008729/0.7657, allocations: 15.94 kB / 1.186 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.7668, allocations: 302.5 kB / 1.186 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.7698, allocations: 0.9453 MB / 1.187 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.7721, allocations: 0.736 MB / 1.188 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.7745, allocations: 1.282 MB / 1.189 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.7755, allocations: 479.2 kB / 1.19 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.7774, allocations: 0.6771 MB / 1.19 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.779, allocations: 483.9 kB / 1.191 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.7792, allocations: 52 kB / 1.191 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.7814, allocations: 0.9392 MB / 1.192 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.7818, allocations: 219.3 kB / 1.192 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005923/0.7824, allocations: 322.6 kB / 1.192 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.7846, allocations: 1.176 MB / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.7846, allocations: 0 / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.949e-06/0.7846, allocations: 0 / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.7846, allocations: 3.938 kB / 1.193 GB, free: 13.49 MB / 0.9512 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.001966/0.7866, allocations: 0.9427 MB / 1.194 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.7867, allocations: 8.031 kB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.7868, allocations: 90.52 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.7885, allocations: 259 kB / 1.195 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.7893, allocations: 493.3 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.7897, allocations: 80.94 kB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.7897, allocations: 43.98 kB / 1.195 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.791, allocations: 0.6185 MB / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.791, allocations: 3.938 kB / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.7911, allocations: 20 kB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.7911, allocations: 24.98 kB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.7925, allocations: 0.5503 MB / 1.196 GB, free: 10.25 MB / 0.9512 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.003771/0.7962, allocations: 2.28 MB / 1.199 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000952/0.7972, allocations: 302.2 kB / 1.199 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.7978, allocations: 168.7 kB / 1.199 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.7978, allocations: 7.984 kB / 1.199 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.7978, allocations: 38.56 kB / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.7978, allocations: 0 / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005003/0.8029, allocations: 1.099 MB / 1.2 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.8029, allocations: 85.05 kB / 1.2 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.8035, allocations: 0.5457 MB / 1.201 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.8036, allocations: 29.7 kB / 1.201 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.8037, allocations: 311.7 kB / 1.201 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.8038, allocations: 35.45 kB / 1.201 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.8039, allocations: 65.55 kB / 1.201 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.804, allocations: 362.7 kB / 1.201 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/0.8046, allocations: 195.8 kB / 1.202 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.8053, allocations: 277.3 kB / 1.202 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.8064, allocations: 412.2 kB / 1.202 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8064, allocations: 7.938 kB / 1.202 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002628/0.809, allocations: 0.7355 MB / 1.203 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.8091, allocations: 9.406 kB / 1.203 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8091, allocations: 96 / 1.203 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/0.8097, allocations: 192.7 kB / 1.203 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.8101, allocations: 67.89 kB / 1.203 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/0.8138, allocations: 2.253 MB / 1.206 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.8145, allocations: 83.47 kB / 1.206 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.8145, allocations: 16 kB / 1.206 GB, free: 272 kB / 0.9512 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.0002421/0.8148, allocations: 183.8 kB / 1.206 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.8149, allocations: 55.38 kB / 1.206 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.815, allocations: 56.11 kB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.815, allocations: 4 kB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.8151, allocations: 0 / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8151, allocations: 3.984 kB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.8182, allocations: 1.137 MB / 1.207 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8182, allocations: 8.047 kB / 1.207 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.8184, allocations: 39.95 kB / 1.207 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005095/0.819, allocations: 188.6 kB / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.819, allocations: 3.984 kB / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/0.8225, allocations: 2.187 MB / 1.209 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8225, allocations: 0 / 1.209 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.825, allocations: 0.7118 MB / 1.21 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.8252, allocations: 160.5 kB / 1.21 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/0.8253, allocations: 11.94 kB / 1.21 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.8259, allocations: 57.91 kB / 1.21 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.826, allocations: 19.92 kB / 1.21 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.826, allocations: 11.98 kB / 1.21 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004681/0.8265, allocations: 398.8 kB / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8265, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006639/0.8272, allocations: 175.9 kB / 1.211 GB, free: 10.62 MB / 0.9669 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.003062/0.8303, allocations: 1.339 MB / 1.212 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.8319, allocations: 0.5335 MB / 1.213 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.8319, allocations: 0 / 1.213 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.8326, allocations: 311 kB / 1.213 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.8341, allocations: 299.9 kB / 1.213 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.8466, allocations: 5.326 MB / 1.218 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/0.8472, allocations: 0.8698 MB / 1.219 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006578/0.8479, allocations: 104.5 kB / 1.219 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.8482, allocations: 167.4 kB / 1.22 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of SimCode: time 1.012e-06/0.8482, allocations: 4 kB / 1.22 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.007/2.855, allocations: 16.55 MB / 1.236 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/2.855, allocations: 296.3 kB / 1.236 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/5.117, allocations: 6.188 kB / 1.236 GB, free: 0.9375 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches